From 7ce58c31377a4d6ec62c860a89e5ea1971ca31db Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 28 May 2024 18:56:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B&?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E5=92=8C=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=B8=80=E4=BA=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ms-link-file/associatedFileDrawer.vue | 9 ++ .../business/ms-link-file/linkFileTable.vue | 12 +- .../components/batchEditModal.vue | 2 +- frontend/src/views/bug-management/index.vue | 2 +- .../components/batchEditModal.vue | 1 + .../components/caseTable.vue | 2 +- .../components/caseTree.vue | 5 +- .../components/recycleCaseTable.vue | 4 + .../tabContent/tabDemand/demand.vue | 1 + .../tabDemand/platformDemandDrawer.vue | 131 ------------------ .../caseManagementFeature/index.vue | 5 +- 11 files changed, 36 insertions(+), 138 deletions(-) delete mode 100644 frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDemand/platformDemandDrawer.vue 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'; + } } // 表格搜索参数