fix(接口自动化): 自定义请求步骤不能执行
This commit is contained in:
parent
add62bacaa
commit
c59cc92f28
|
@ -251,6 +251,7 @@
|
||||||
this.reload();
|
this.reload();
|
||||||
},
|
},
|
||||||
run() {
|
run() {
|
||||||
|
if (this.isApiImport) {
|
||||||
if (!this.envMap || this.envMap.size === 0) {
|
if (!this.envMap || this.envMap.size === 0) {
|
||||||
this.$warning("请在环境配置中为该步骤所属项目选择运行环境!");
|
this.$warning("请在环境配置中为该步骤所属项目选择运行环境!");
|
||||||
return false;
|
return false;
|
||||||
|
@ -261,6 +262,8 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.request.active = true;
|
this.request.active = true;
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.runData = [];
|
this.runData = [];
|
||||||
|
|
Loading…
Reference in New Issue