From baff606c1ab77ca830533aa96cda4270546f1ebc Mon Sep 17 00:00:00 2001 From: Lanlan Date: Wed, 9 Jun 2021 14:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=9D=A2=E6=9D=BF=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/login/DesignerLoginHelper.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/login/DesignerLoginHelper.java b/designer-base/src/main/java/com/fr/design/login/DesignerLoginHelper.java index 93d7b1adf2..5da006fa76 100644 --- a/designer-base/src/main/java/com/fr/design/login/DesignerLoginHelper.java +++ b/designer-base/src/main/java/com/fr/design/login/DesignerLoginHelper.java @@ -68,12 +68,9 @@ public class DesignerLoginHelper { if (dialog == null) { if (window instanceof Dialog) { dialog = new DesignerLoginShowDialog((Dialog) window, designerLoginPane); - } else if (window instanceof Frame) { - dialog = new DesignerLoginShowDialog((Frame) window, designerLoginPane); } else { - return; + dialog = new DesignerLoginShowDialog((Frame) window, designerLoginPane); } - } dialog.setVisible(true); }