Browse Source

REPORT-57561 远程版本不一致功能不可用的提示-启动时连接远程目录

zheng-1641779399395
pengda 3 years ago
parent
commit
b3910bc86f
  1. 4
      designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

4
designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

@ -63,12 +63,12 @@ public class DesignerWorkspaceProvider extends Activator {
} else {
WorkContext.switchTo(workspace);
//在设计器完全启动完成后,对初始环境进行一次服务检测,对主要功能无影响,异常仅做日志提示即可
final DesignerWorkspaceInfo selectEnv = workspaceInfo;
final String selectEnv = current;
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() {
@Override
public void on(Event event, Null aNull) {
try {
VersionCheckUtils.showVersionCheckDialog(selectEnv.getName());
VersionCheckUtils.showVersionCheckDialog(selectEnv);
} catch (Exception e) {
FineLoggerFactory.getLogger().warn("Check Service Failed");
}

Loading…
Cancel
Save