diff --git a/frontend/src/components/business/ms-link-file/associatedFileDrawer.vue b/frontend/src/components/business/ms-link-file/associatedFileDrawer.vue index 9443f27088..c5f0f0987a 100644 --- a/frontend/src/components/business/ms-link-file/associatedFileDrawer.vue +++ b/frontend/src/components/business/ms-link-file/associatedFileDrawer.vue @@ -242,6 +242,15 @@ function handleDrawerCancel() { showDrawer.value = false; } + + watch( + () => showDrawer.value, + (val) => { + if (!val) { + selectFile.value = []; + } + } + ); diff --git a/frontend/src/views/case-management/caseManagementFeature/index.vue b/frontend/src/views/case-management/caseManagementFeature/index.vue index ddfaf001af..c2f08ed098 100644 --- a/frontend/src/views/case-management/caseManagementFeature/index.vue +++ b/frontend/src/views/case-management/caseManagementFeature/index.vue @@ -264,8 +264,11 @@ * 设置根模块名称列表 * @param names 根模块名称列表 */ - function setRootModules(names: string[]) { + function setRootModules(names: string[], isSetDefaultKey: boolean) { rootModulesName.value = names; + if (isSetDefaultKey) { + activeFolder.value = 'all'; + } } // 表格搜索参数