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

This commit is contained in:
baiqi 2024-11-18 18:01:11 +08:00 committed by Craftsman
parent a6de9d2b4c
commit 967828d992
2 changed files with 2 additions and 0 deletions

View File

@ -1307,6 +1307,7 @@
await scenarioBatchEditSchedule({ await scenarioBatchEditSchedule({
...batchParams.value, ...batchParams.value,
projectId: appStore.currentProjectId, projectId: appStore.currentProjectId,
selectIds: batchParams.value?.selectedIds || [],
...updateParam, ...updateParam,
}); });
} else { } else {

View File

@ -164,6 +164,7 @@
await batchConfigSchedule({ await batchConfigSchedule({
...props.batchParams, ...props.batchParams,
...form.value, ...form.value,
selectIds: props.batchParams.selectedIds,
projectId: appStore.currentProjectId, projectId: appStore.currentProjectId,
}); });
} else if (props.sourceId) { } else if (props.sourceId) {