From 05899ab616897d85b4d7cf0b67fa7d26a03b0fd8 Mon Sep 17 00:00:00 2001 From: guoyue Date: Tue, 25 Oct 2022 17:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=88=86=E7=B1=BB=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E8=83=BD=E5=8A=9B=E9=9B=86=E5=B8=82=EF=BC=8C=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=A2=86=E5=9F=9F=E6=9C=89=E9=80=89=E4=B8=AD=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/DetailsPageconetent.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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++