fix(接口自动化): 修复执行选择环境问题

This commit is contained in:
fit2-zhao 2020-12-15 14:40:39 +08:00
parent cdbaa1c208
commit a3ccde7ea6
1 changed files with 0 additions and 5 deletions

View File

@ -104,11 +104,6 @@
threadGroup.hashTree = [];
testPlan.hashTree = [threadGroup];
this.runData.forEach(item => {
if (!item.useEnvironment) {
this.$error(this.$t("api_test.environment.select_environment"));
this.$emit('runRefresh', {});
return;
}
threadGroup.hashTree.push(item);
})
let reqObj = {id: this.reportId, testElement: testPlan};