fix(接口自动化): 执行调试前检查环境配置

This commit is contained in:
shiziyuan9527 2021-03-10 18:05:18 +08:00
parent e11e59a256
commit 82b2a6cf6a
1 changed files with 11 additions and 1 deletions

View File

@ -112,7 +112,17 @@ export default {
}
})
} else {
sign = false;
//
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) {