From cb1c7e3035f95634552227013cb1217ff3263df1 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 22 May 2023 12:52:08 +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=89=B9=E9=87=8F=E6=89=A7=E8=A1=8C=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E6=9C=AA=E6=8F=90=E7=A4=BA=E9=80=89=E6=8B=A9=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=B1=A0=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026382 --user=王孝刚 【测试计划】批量执行接口测试不选择资源池运行直接点击确定,可正常执行 https://www.tapd.cn/55049933/s/1373686 --- .../src/business/plan/common/TestPlanRunModeWithEnv.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-track/frontend/src/business/plan/common/TestPlanRunModeWithEnv.vue b/test-track/frontend/src/business/plan/common/TestPlanRunModeWithEnv.vue index ae74f0c796..dce1eb9bdd 100644 --- a/test-track/frontend/src/business/plan/common/TestPlanRunModeWithEnv.vue +++ b/test-track/frontend/src/business/plan/common/TestPlanRunModeWithEnv.vue @@ -345,6 +345,11 @@ export default { this.$emit("close"); }, handleRunBatch() { + if (this.runConfig.resourcePoolId == null) { + this.$warning( + this.$t("workspace.env_group.please_select_run_within_resource_pool")); + return; + } this.runConfig.testPlanDefaultEnvMap = this.defaultEnvMap; this.$emit("handleRunBatch", this.runConfig); this.close();