解决ts爆红
This commit is contained in:
parent
ca78a54090
commit
76fa20c052
|
@ -224,7 +224,7 @@
|
|||
:initial-index="4"
|
||||
fit="cover"
|
||||
/>
|
||||
<video width="150" height="150" v-if="item.type == 'video'" :src="item.url" autoplay="autoplay" controls></video>
|
||||
<video width="150" height="150" v-if="item.type == 'video'" :src="item.url" autoplay="true" controls></video>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -401,7 +401,9 @@ const cascaderChange = (value: any, selectedOptions: any): void => {
|
|||
expandedKeys.value = value
|
||||
// scrollToMatchedNode(title) //此功能还有bug:滑动会带着父元素一起滑动
|
||||
}
|
||||
|
||||
interface anyType {
|
||||
[key: string]: any
|
||||
}
|
||||
const showIframe = ref(false)
|
||||
const videoUrl = ref('')
|
||||
|
||||
|
@ -1015,7 +1017,7 @@ const getAi = () => {
|
|||
})
|
||||
}
|
||||
//获取一个city极其下属区县的报警数量统计
|
||||
const total = ref({})
|
||||
const total = ref<anyType>({})
|
||||
const gettotal = () => {
|
||||
let city = JSON.parse(localStorage.getItem('user-stores'))['userInfo']['levelvalue']
|
||||
api
|
||||
|
@ -1876,9 +1878,9 @@ const initMap = () => {
|
|||
--el-dialog-bg-color: #06325f;
|
||||
}
|
||||
|
||||
:deep(.el-dialog__headerbtn .el-dialog__close) {
|
||||
// color: #32DCFB;
|
||||
}
|
||||
//:deep(.el-dialog__headerbtn .el-dialog__close) {
|
||||
// color: #32DCFB;
|
||||
//}
|
||||
|
||||
:deep(.el-dialog__header) {
|
||||
border-bottom: 1px solid #ccc;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<div style="display: inline-block">
|
||||
<el-progress
|
||||
style="width: 65px; display: inline-block; vertical-align: middle; margin-left: 10px; margin-top: -5px"
|
||||
:percentage="(i / config.data.length).toFixed(2) * 100"
|
||||
:percentage="+(i / config.data.length).toFixed(2) * 100"
|
||||
:stroke-width="15"
|
||||
:text-inside="true"
|
||||
></el-progress>
|
||||
|
|
Loading…
Reference in New Issue