fix(测试跟踪): 修复批量执行用例未提示选择资源池的缺陷

--bug=1026382 --user=王孝刚 【测试计划】批量执行接口测试不选择资源池运行直接点击确定,可正常执行
https://www.tapd.cn/55049933/s/1373686
This commit is contained in:
wxg0103 2023-05-22 12:52:08 +08:00 committed by 刘瑞斌
parent 7436b19964
commit cb1c7e3035

View File

@ -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();