Browse Source

REPORT-9706 在远程环境下,切换成本地的时候弹出一个错误提示框呢

master
hzzz 6 years ago
parent
commit
d3d20ab723
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

3
designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

@ -56,7 +56,6 @@ public class DesignerSocketIO {
status = Status.Disconnecting;
socketIO.get().close();
socketIO = Optional.absent();
status = Status.Disconnected;
}
}
@ -83,8 +82,8 @@ public class DesignerSocketIO {
if (status != Status.Disconnecting) {
JOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), Inter.getLocText(new String[]{"Fine-Designer_Basic_Remote_Disconnected"}),
null, 0, UIManager.getIcon("OptionPane.errorIcon"));
status = Status.Disconnected;
}
status = Status.Disconnected;
}
});
socketIO.get().connect();

Loading…
Cancel
Save