解决ts爆红

This commit is contained in:
TimSpan 2024-08-08 17:34:43 +08:00
parent ca78a54090
commit 76fa20c052
2 changed files with 9 additions and 7 deletions

View File

@ -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;

View File

@ -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>