no message

This commit is contained in:
851673013@qq.com 2022-07-04 17:41:11 +08:00
parent 559b2bc407
commit 79fecefa96
2 changed files with 5 additions and 15 deletions

View File

@ -23,6 +23,7 @@
:associatedComponents="associatedComponents"
id="layer-service-associated-ability"
class="scrollBox"
v-if="!loading"
></layer-service-associated-ability>
<!-- 图层展示 视频 -->
<layer-service-presentation
@ -91,6 +92,7 @@
const id = router.currentRoute.value.query.id
const obj = JSON.parse(window.sessionStorage.getItem('preview'))
const associatedComponents = ref([{ type: '应用资源', dataList: [] }])
let loading = ref(true)
document.documentElement.style.transition = 'all 0.3s ease'
document.documentElement.scrollTop = 0
document.body.style.transition = 'all 0.3s ease'
@ -154,8 +156,8 @@
keyId: id,
}
queryPartAppByKeyId2(queryPartAppByKeyIdParams).then((res) => {
debugger
associatedComponents.value[index].dataList = res.data.data
loading.value = false
})
})
} else if (obj) {

View File

@ -126,13 +126,7 @@
navList.value.forEach((item) => {
console.log(item)
if (list.value.indexOf(item.name) > -1) {
if (item.name == '关联应用') {
if (props.associatedComponents[0].dataList.length != 0) {
item.show = true
}
} else {
item.show = true
}
item.show = true
}
})
select.value = navList.value.filter(
@ -207,13 +201,7 @@
navList.value.forEach((item) => {
console.log(item)
if (list.value.indexOf(item.name) > -1) {
if (item.name == '关联应用') {
if (props.associatedComponents[0].dataList.length != 0) {
item.show = true
}
} else {
item.show = true
}
item.show = true
}
})
if (list.value.length > 0) {