diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java index 0ab25845bf..c1114eea02 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java @@ -1121,6 +1121,10 @@ public class TableDataTreePane extends BasicTableDataTreePane { BasicDialog basicDialog = basicPane.showSmallWindow(SwingUtilities.getWindowAncestor(TableDataTreePane.this), new DialogActionAdapter() { @Override public void doOk() { + DesignCacheManager.processByCacheTableData(this::processRemove); + + } + private void processRemove() { List selectedValues = tableDataCheckBoxPane.getSelectedObjects(); // 删除时如果正在搜索,跳回原树 if (TableDataTreeSearchManager.getInstance().isInSearchMode()) { @@ -1134,7 +1138,6 @@ public class TableDataTreePane extends BasicTableDataTreePane { } } } - @Override public void doCancel() { super.doCancel();