fix(接口测试): 修复环境删除时,测试保存无反应
This commit is contained in:
parent
dc6e777bb6
commit
9f9210bb87
|
@ -1 +1 @@
|
||||||
Subproject commit ecb30d83c575c6ed14adb1a1ebea389730f410a9
|
Subproject commit b86032cbbda9a9e6028308aa95a887cff2192f1c
|
|
@ -166,7 +166,12 @@ export default {
|
||||||
});
|
});
|
||||||
this.scenarios.forEach(scenario => {
|
this.scenarios.forEach(scenario => {
|
||||||
if (scenario.environmentId) {
|
if (scenario.environmentId) {
|
||||||
scenario.environment = environmentMap.get(scenario.environmentId);
|
let env = environmentMap.get(scenario.environmentId);
|
||||||
|
if (!env) {
|
||||||
|
scenario.environmentId = undefined;
|
||||||
|
} else {
|
||||||
|
scenario.environment = env;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 390943d21e7d0196e0d7d5faa66f0131cb631614
|
Subproject commit 7e4d80cc2b870a8cac6dbb9fe6711ab6041faf6d
|
Loading…
Reference in New Issue