fix(接口测试): 场景调试偶发环境丢失问题
--bug=1014467 --user=赵勇 【接口测试】【偶发】github#15273,接口场景自动化调试问题 https://www.tapd.cn/55049933/s/1193088
This commit is contained in:
parent
fd03d70bdf
commit
72af8e7bd0
|
@ -109,7 +109,7 @@ export function editApiScenarioCaseOrder(request, callback) {
|
|||
}
|
||||
|
||||
export function savePreciseEnvProjectIds(projectIds, envMap) {
|
||||
if (envMap != null && projectIds != null) {
|
||||
if (envMap != null && projectIds && projectIds.length > 0) {
|
||||
let keys = envMap.keys();
|
||||
for (let key of keys) {
|
||||
if (!projectIds.has(key)) {
|
||||
|
|
Loading…
Reference in New Issue