diff --git a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue index b72be29b..846c2678 100644 --- a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue +++ b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue @@ -60,7 +60,7 @@ selectNow: { type: String, default: '' }, dataList: { type: Object, default: null }, }) - const select = ref('business-presentation') + const select = ref('business-associated-ability') const list = ref([]) // 根据能力id查询是否存在关联应用 if (keyId) { diff --git a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue index a406bbe8..26d2a1ad 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue @@ -63,7 +63,7 @@ dataList: { type: Object, default: null }, associatedComponents: { type: Object, default: null }, }) - const select = ref('algorithm-display') + const select = ref('developer-associated-ability') const list = ref([]) // 根据能力id查询是否存在关联应用 if (keyId) { diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue index ba8c8819..cf148632 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue @@ -63,7 +63,6 @@ dataList: { type: Object, default: null }, associatedComponents: { type: Array, default: null }, }) - const select = ref('service-presentation') const list = ref([]) // 根据能力id查询是否存在关联应用 if (keyId) { @@ -73,14 +72,14 @@ // 存在关联应用时在导航栏加入关联应用 navList.value.unshift({ name: '关联应用', - key: 'service-associated-ability', + key: 'layer-service-associated-ability', show: true, }) - // list.value.push('关联应用') - console.log('navList', navList) + list.value.unshift('关联应用') } }) } + const select = ref('layer-service-associated-ability') const selectNav = (key) => { select.value = key console.log(key, select.value) @@ -139,7 +138,7 @@ list.value.push('使用方式') } }) - list.value.push('关联应用') + list.value.unshift('关联应用') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { @@ -147,7 +146,7 @@ } }) select.value = navList.value.filter( - (item) => item.name === '图层展示' + (item) => item.name === '关联应用' )[0].key console.log('11111111111111111111111111', list.value, navList.value) } @@ -214,7 +213,7 @@ list.value.push('使用方式') } }) - list.value.push('关联应用') + list.value.unshift('关联应用') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) {