This commit is contained in:
fit2-zhao 2021-03-04 16:57:29 +08:00
commit dd22f8c20b
1 changed files with 2 additions and 0 deletions

View File

@ -919,6 +919,7 @@
} }
this.enableCookieShare = obj.enableCookieShare; this.enableCookieShare = obj.enableCookieShare;
this.scenarioDefinition = obj.hashTree; this.scenarioDefinition = obj.hashTree;
this.initProjectIds();
} }
} }
if (this.currentScenario.copy) { if (this.currentScenario.copy) {
@ -999,6 +1000,7 @@
this.reload(); this.reload();
}, },
initProjectIds() { initProjectIds() {
//
this.projectIds.clear(); this.projectIds.clear();
this.scenarioDefinition.forEach(data=>{ this.scenarioDefinition.forEach(data=>{
let arr = jsonPath.query(data, "$..projectId"); let arr = jsonPath.query(data, "$..projectId");