From abf710c04ec1e1e6416041f786c116c1fd10383f Mon Sep 17 00:00:00 2001 From: ju Date: Tue, 7 Aug 2018 14:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=9C=AC?= =?UTF-8?q?=E6=9D=A5=E5=B0=B1=E6=98=AF=E9=BB=98=E8=AE=A4=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=97=B6=E8=B5=B7=E4=B8=8D=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/DesignerEnvManager.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java b/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java index 104f6f847..73f9e6fef 100644 --- a/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java +++ b/designer-base/src/main/java/com/fr/design/DesignerEnvManager.java @@ -547,9 +547,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter { * 设置当前环境为默认 */ public void setCurrentEnv2Default() { - if (isCurrentEnvDefault()) { - return; - } + try { final String envName = getDefaultEnvName(); WorkContext.switchTo(DesignerWorkspaceGenerator.generate(getDefaultConfig()), new WorkContextCallback() {