fix(测试用例): 修复功能用例显示子模块不生效&同步默认消息通知开启

This commit is contained in:
xinxin.wu 2024-08-14 16:42:23 +08:00 committed by 刘瑞斌
parent 9061f5ac79
commit f133a7d84c
2 changed files with 5 additions and 5 deletions

View File

@ -98,8 +98,8 @@
const initForm: batchSyncForm = {
notificationConfig: {
apiCaseCreator: false,
scenarioCreator: false,
apiCaseCreator: true,
scenarioCreator: true,
},
//
syncItems: {

View File

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