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]; } }