Browse Source

REPORT-91839 模板版本管理二期 没设置启动页,启动的时候判断有点问题

release/11.0
Destiny.Lin 1 year ago
parent
commit
2b70d0f484
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

4
designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

@ -81,9 +81,11 @@ public class VcsHelper implements JTemplateActionListener {
if (op != null) {
try {
legacyMode = op.isLegacyMode();
root = WorkContext.getCurrent().isLocal() || WorkContext.getCurrent().isRoot();
} catch (Exception e) {
legacyMode = true;
FineLoggerFactory.getLogger().error("[VcsHelper] get legacy first failed ", e.getMessage());
root = false;
FineLoggerFactory.getLogger().error("[VcsHelper] init first failed ", e.getMessage());
}
}
EventDispatcher.listen(ConfigEvent.READY, new ListenerAdaptor() {

Loading…
Cancel
Save