Browse Source

REPORT-62438 远程模板锁定优化 改一个交互细节

feature/x
hades 3 years ago
parent
commit
b0112cb130
  1. 3
      designer-base/src/main/java/com/fr/design/utils/TemplateUtils.java

3
designer-base/src/main/java/com/fr/design/utils/TemplateUtils.java

@ -3,6 +3,7 @@ package com.fr.design.utils;
import com.fr.base.extension.FileExtension;
import com.fr.base.io.BaseBook;
import com.fr.design.file.HistoryTemplateListCache;
import com.fr.design.file.TemplateTreePane;
import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.JTemplate;
@ -103,6 +104,8 @@ public class TemplateUtils {
if (needOpen) {
DesignerContext.getDesignerFrame().openTemplate(file);
}
// 备份成功刷新下目录树 展示出来备份的模板
TemplateTreePane.getInstance().refresh();
} catch (Exception e) {
SaveFailureHandler.getInstance().process(e);
FineLoggerFactory.getLogger().error(e.getMessage(), e);

Loading…
Cancel
Save