fix(测试用例): 修复功能用例显示子模块不生效&同步默认消息通知开启
This commit is contained in:
parent
9061f5ac79
commit
f133a7d84c
|
@ -98,8 +98,8 @@
|
|||
|
||||
const initForm: batchSyncForm = {
|
||||
notificationConfig: {
|
||||
apiCaseCreator: false,
|
||||
scenarioCreator: false,
|
||||
apiCaseCreator: true,
|
||||
scenarioCreator: true,
|
||||
},
|
||||
// 同步项目
|
||||
syncItems: {
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue