From f133a7d84cabc65452708bc41c18161e9cb3008d Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 14 Aug 2024 16:42:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=AD=90=E6=A8=A1=E5=9D=97=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?&=E5=90=8C=E6=AD=A5=E9=BB=98=E8=AE=A4=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/components/management/case/syncModal.vue | 4 ++-- .../caseManagementFeature/components/caseTable.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/case/syncModal.vue b/frontend/src/views/api-test/management/components/management/case/syncModal.vue index da0440d119..0a545686c8 100644 --- a/frontend/src/views/api-test/management/components/management/case/syncModal.vue +++ b/frontend/src/views/api-test/management/components/management/case/syncModal.vue @@ -98,8 +98,8 @@ const initForm: batchSyncForm = { notificationConfig: { - apiCaseCreator: false, - scenarioCreator: false, + apiCaseCreator: true, + scenarioCreator: true, }, // 同步项目 syncItems: { diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index e249dc5acd..432856807e 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -955,11 +955,11 @@ async function initTableParams() { let moduleIds: string[] = []; - if (props.activeFolder) { - const activeModuleIds = props.activeFolder === 'all' ? [] : [props.activeFolder]; + if (props.activeFolder !== 'all') { + moduleIds = [props.activeFolder]; const getAllChildren = await tableStore.getSubShow(TableKeyEnum.CASE_MANAGEMENT_TABLE); if (getAllChildren) { - moduleIds = [...activeModuleIds, ...props.offspringIds]; + moduleIds = [props.activeFolder, ...props.offspringIds]; } }