Browse Source

登录面板不显示

feature/10.0
Lanlan 3 years ago
parent
commit
baff606c1a
  1. 5
      designer-base/src/main/java/com/fr/design/login/DesignerLoginHelper.java

5
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);
}

Loading…
Cancel
Save