From 5ebce6029ef7bc7526d5afde7b277907a47346cb Mon Sep 17 00:00:00 2001 From: "Richard.Fang" Date: Mon, 30 Dec 2024 15:42:59 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-145518=20fix:=E4=BF=AE=E5=A4=8D=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=A0=91=E6=96=B0=E5=BB=BA=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E5=90=8E=E6=98=BE=E7=A4=BA=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/mainframe/DesignerFrameFileDealerPane.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java b/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java index cbda592149..3f6b7ba578 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java @@ -29,6 +29,7 @@ import com.fr.design.file.FileToolbarStateChangeListener; import com.fr.design.file.HistoryTemplateListCache; import com.fr.design.file.HistoryTemplateListPane; import com.fr.design.file.MultiTemplateTabPane; +import com.fr.design.file.NodeAuthProcessor; import com.fr.design.file.TemplateTreePane; import com.fr.design.gui.ibutton.UIButton; import com.fr.design.gui.ilable.UILabel; @@ -755,8 +756,10 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt } String targetPath = FilenameUtils.standard(parentPath + CoreConstants.SEPARATOR + userInput); boolean success = selectedOperation.mkdir(targetPath); - selectedOperation.refresh(); + NodeAuthProcessor.getInstance().refresh(); + DesignerFrameFileDealerPane.getInstance().refreshRightToolBarBy(null); this.dispose(); + // 定位模板流程中刷新模板树 LocateAction.gotoEditingTemplateLeaf(targetPath); if (!success) { FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(),