fix(接口测试): 场景批量编辑定时任务接口参数修复

This commit is contained in:
baiqi 2024-11-25 16:37:40 +08:00 committed by 刘瑞斌
parent d5470a8f15
commit 4039bab50e
1 changed files with 2 additions and 0 deletions

View File

@ -1306,11 +1306,13 @@
updateParam.config.environmentId = undefined;
}
if (isBatch.value) {
const batchConditionParams = await getBatchConditionParams();
await scenarioBatchEditSchedule({
...batchParams.value,
projectId: appStore.currentProjectId,
selectIds: batchParams.value?.selectedIds || [],
...updateParam,
moduleIds: batchConditionParams.moduleIds,
});
} else {
await scenarioScheduleConfig(updateParam);