From 7fc07e0239742c26c8df2a70aa9a69d2c8bafbf3 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 7 Mar 2024 15:55:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=80=9A=E7=94=A8=E5=8A=9F=E8=83=BD):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E5=9D=97=E8=8A=82=E7=82=B9=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=B8=8D=E8=83=BD=E5=B1=95=E5=BC=80=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=9A=84=E8=8A=82=E7=82=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036029 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036029 --- frontend/src/components/business/ms-tree/index.vue | 2 +- frontend/src/views/case-management/caseReview/index.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/business/ms-tree/index.vue b/frontend/src/components/business/ms-tree/index.vue index 19f809a28a..84880fcaa5 100644 --- a/frontend/src/components/business/ms-tree/index.vue +++ b/frontend/src/components/business/ms-tree/index.vue @@ -228,7 +228,7 @@ } } }); - expandedKeys.value = result.map((item) => item[props.fieldNames.key]); // 搜索时,匹配的节点需要自动展开 + result.forEach((item) => expandedKeys.value.push(item[props.fieldNames.key])); // 搜索时,匹配的节点需要自动展开 return result; }; diff --git a/frontend/src/views/case-management/caseReview/index.vue b/frontend/src/views/case-management/caseReview/index.vue index f576a4b4d5..3eff8ca555 100644 --- a/frontend/src/views/case-management/caseReview/index.vue +++ b/frontend/src/views/case-management/caseReview/index.vue @@ -20,6 +20,7 @@ :modules-count="modulesCount" @folder-node-select="handleFolderNodeSelect" @init="initModuleTree" + :is-expand-all=true />