diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java index da5018dedf..3da52f26a7 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/MsScenario.java @@ -121,10 +121,8 @@ public class MsScenario extends MsTestElement { }); this.setHeaders(headers); } - if (element.get("environmentMap") != null) { - this.setEnvironmentMap((Map) element.get("environmentMap")); - } this.setHashTree(sourceHashTree); + hashTree = sourceHashTree; } } catch (Exception ex) {