diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index b4bfc172..7cc26f27 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -817,14 +817,14 @@ export default defineComponent({ if (!val) { return } - // todo if (val.name === queryName.value) { if ( val.selectedTags && val.selectedTags.indexOf(selectSubType) == -1 ) { val.selectedTags = [selectSubType] - // changeShrink(queryName.value) + // 展开 + changeShrink(queryName.value) } else { val.selectedTags && val.selectedTags.splice( @@ -1279,7 +1279,7 @@ export default defineComponent({ let info = { attrType: queryName.value, attrValue: selectSubType } paramsGetResources.infoList.push(info) } - // changeShrink(queryName.value) + changeShrink(queryName.value) paramsGetResources.type = select console.log('paramsGetResources---onMounted--------->', paramsGetResources); } @@ -1295,6 +1295,7 @@ export default defineComponent({ if (searchValue.value && !select) { globalSearch() } else { + // 判断在首页选择了具体的类型 judgeHasSubSelectType() getAppResources2() listKey.value++