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 />