diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 61df42bba3..ee627a1163 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -919,6 +919,7 @@ } this.enableCookieShare = obj.enableCookieShare; this.scenarioDefinition = obj.hashTree; + this.initProjectIds(); } } if (this.currentScenario.copy) { @@ -999,6 +1000,7 @@ this.reload(); }, initProjectIds() { + // 加载环境配置 this.projectIds.clear(); this.scenarioDefinition.forEach(data=>{ let arr = jsonPath.query(data, "$..projectId");