fix(接口测试): 场景下无请求控制台报错
This commit is contained in:
parent
b7a4db923c
commit
366265db36
|
@ -156,6 +156,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
select(request) {
|
select(request) {
|
||||||
|
if (!request) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
request.environment = this.scenario.environment;
|
request.environment = this.scenario.environment;
|
||||||
if (!request.useEnvironment) {
|
if (!request.useEnvironment) {
|
||||||
request.useEnvironment = false;
|
request.useEnvironment = false;
|
||||||
|
|
Loading…
Reference in New Issue