diff --git a/front/src/views/detailsAll/LayerService.vue b/front/src/views/detailsAll/LayerService.vue index 7906c466..799c98b1 100644 --- a/front/src/views/detailsAll/LayerService.vue +++ b/front/src/views/detailsAll/LayerService.vue @@ -23,6 +23,7 @@ :associatedComponents="associatedComponents" id="layer-service-associated-ability" class="scrollBox" + v-if="!loading" > { - debugger associatedComponents.value[index].dataList = res.data.data + loading.value = false }) }) } else if (obj) { diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue index c5ebd542..af049b57 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue @@ -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) {