Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
dd22f8c20b
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue