fix(接口自动化): 执行调试前检查环境配置
This commit is contained in:
parent
e11e59a256
commit
82b2a6cf6a
|
@ -112,7 +112,17 @@ export default {
|
|||
}
|
||||
})
|
||||
} else {
|
||||
// 如果有环境,检查环境
|
||||
if (this.envMap && this.envMap.size > 0) {
|
||||
this.projectIds.forEach(id => {
|
||||
if (!this.envMap.get(id)) {
|
||||
sign = false;
|
||||
return false;
|
||||
}
|
||||
})
|
||||
} else {
|
||||
sign = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!sign) {
|
||||
|
|
Loading…
Reference in New Issue