From 88ee7a57d7095f472e345fb88c4f8212d93f162b Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 24 Nov 2022 16:18:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E9=87=8C?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=94=A8=E4=BE=8B=E6=89=B9=E9=87=8F=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E9=80=89=E6=8B=A9=E6=96=B0=E7=8E=AF=E5=A2=83=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020243 --- .../src/business/plan/view/comonents/api/TestPlanApiCaseList.vue | 1 + .../business/plan/view/comonents/api/TestPlanApiScenarioList.vue | 1 + 2 files changed, 2 insertions(+) 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";