no message
This commit is contained in:
parent
559b2bc407
commit
79fecefa96
|
@ -23,6 +23,7 @@
|
||||||
:associatedComponents="associatedComponents"
|
:associatedComponents="associatedComponents"
|
||||||
id="layer-service-associated-ability"
|
id="layer-service-associated-ability"
|
||||||
class="scrollBox"
|
class="scrollBox"
|
||||||
|
v-if="!loading"
|
||||||
></layer-service-associated-ability>
|
></layer-service-associated-ability>
|
||||||
<!-- 图层展示 视频 -->
|
<!-- 图层展示 视频 -->
|
||||||
<layer-service-presentation
|
<layer-service-presentation
|
||||||
|
@ -91,6 +92,7 @@
|
||||||
const id = router.currentRoute.value.query.id
|
const id = router.currentRoute.value.query.id
|
||||||
const obj = JSON.parse(window.sessionStorage.getItem('preview'))
|
const obj = JSON.parse(window.sessionStorage.getItem('preview'))
|
||||||
const associatedComponents = ref([{ type: '应用资源', dataList: [] }])
|
const associatedComponents = ref([{ type: '应用资源', dataList: [] }])
|
||||||
|
let loading = ref(true)
|
||||||
document.documentElement.style.transition = 'all 0.3s ease'
|
document.documentElement.style.transition = 'all 0.3s ease'
|
||||||
document.documentElement.scrollTop = 0
|
document.documentElement.scrollTop = 0
|
||||||
document.body.style.transition = 'all 0.3s ease'
|
document.body.style.transition = 'all 0.3s ease'
|
||||||
|
@ -154,8 +156,8 @@
|
||||||
keyId: id,
|
keyId: id,
|
||||||
}
|
}
|
||||||
queryPartAppByKeyId2(queryPartAppByKeyIdParams).then((res) => {
|
queryPartAppByKeyId2(queryPartAppByKeyIdParams).then((res) => {
|
||||||
debugger
|
|
||||||
associatedComponents.value[index].dataList = res.data.data
|
associatedComponents.value[index].dataList = res.data.data
|
||||||
|
loading.value = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (obj) {
|
} else if (obj) {
|
||||||
|
|
|
@ -126,13 +126,7 @@
|
||||||
navList.value.forEach((item) => {
|
navList.value.forEach((item) => {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
if (list.value.indexOf(item.name) > -1) {
|
if (list.value.indexOf(item.name) > -1) {
|
||||||
if (item.name == '关联应用') {
|
item.show = true
|
||||||
if (props.associatedComponents[0].dataList.length != 0) {
|
|
||||||
item.show = true
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
item.show = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
select.value = navList.value.filter(
|
select.value = navList.value.filter(
|
||||||
|
@ -207,13 +201,7 @@
|
||||||
navList.value.forEach((item) => {
|
navList.value.forEach((item) => {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
if (list.value.indexOf(item.name) > -1) {
|
if (list.value.indexOf(item.name) > -1) {
|
||||||
if (item.name == '关联应用') {
|
item.show = true
|
||||||
if (props.associatedComponents[0].dataList.length != 0) {
|
|
||||||
item.show = true
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
item.show = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (list.value.length > 0) {
|
if (list.value.length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue