Browse Source

Merge pull request #1324 in DESIGN/design from ~LUCIAN.CHEN/design:release/10.0 to release/10.0

* commit 'c66568f7785e7cd02945c262d773c996466fd52d':
  REPORT-24455 切换远程工作目录,新建模板保存,保存的特别慢
feature/big-screen
Lucian.Chen 5 years ago
parent
commit
dbe7be9682
  1. 4
      designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java

4
designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java vendored

@ -1,6 +1,6 @@
package com.fr.design.env;
import com.fr.cluster.engine.remote.ClusterOperator;
import com.fr.cluster.engine.base.FineClusterConfig;
import com.fr.design.i18n.Toolkit;
import com.fr.stable.AssistUtils;
import com.fr.workspace.WorkContext;
@ -70,7 +70,7 @@ public class RemoteWorkspace implements Workspace {
@Override
public boolean isCluster() {
return WorkContext.getCurrent().get(ClusterOperator.class).isCluster();
return FineClusterConfig.getInstance().isCluster();
}
@Override

Loading…
Cancel
Save