diff --git a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiCaseList.vue b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiCaseList.vue index fd7b5a0200..0f3da83c37 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiCaseList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiCaseList.vue @@ -627,6 +627,7 @@ export default { }, handleRunBatch(config) { let obj = {planIds: this.testPlanCaseIds, config: config, triggerMode: "BATCH",projectId: getCurrentProjectID()}; + obj.config.envMap = strMapToObj(config.envMap); testPlanApiCaseRun(obj) .then(() => { this.$message(this.$t('commons.run_message')); diff --git a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue index 74aa6cda2d..fb6d41fcad 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue @@ -470,6 +470,7 @@ export default { rows.forEach(row => { this.buildExecuteParam(param, row); }); + param.config.envMap = strMapToObj(config.envMap); param.condition = selectParam.condition; param.triggerMode = "BATCH"; param.requestOriginator = "TEST_PLAN";