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 = { const initForm: batchSyncForm = {
notificationConfig: { notificationConfig: {
apiCaseCreator: false, apiCaseCreator: true,
scenarioCreator: false, scenarioCreator: true,
}, },
// //
syncItems: { syncItems: {

View File

@ -955,11 +955,11 @@
async function initTableParams() { async function initTableParams() {
let moduleIds: string[] = []; let moduleIds: string[] = [];
if (props.activeFolder) { if (props.activeFolder !== 'all') {
const activeModuleIds = props.activeFolder === 'all' ? [] : [props.activeFolder]; moduleIds = [props.activeFolder];
const getAllChildren = await tableStore.getSubShow(TableKeyEnum.CASE_MANAGEMENT_TABLE); const getAllChildren = await tableStore.getSubShow(TableKeyEnum.CASE_MANAGEMENT_TABLE);
if (getAllChildren) { if (getAllChildren) {
moduleIds = [...activeModuleIds, ...props.offspringIds]; moduleIds = [props.activeFolder, ...props.offspringIds];
} }
} }