Browse Source

REPORT-132480 【fr-fbp回归】数据集复制粘贴删除操作非常慢

fbp/release
Destiny.Lin 3 months ago
parent
commit
1b0a59573f
  1. 5
      designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java

5
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() { BasicDialog basicDialog = basicPane.showSmallWindow(SwingUtilities.getWindowAncestor(TableDataTreePane.this), new DialogActionAdapter() {
@Override @Override
public void doOk() { public void doOk() {
DesignCacheManager.processByCacheTableData(this::processRemove);
}
private void processRemove() {
List selectedValues = tableDataCheckBoxPane.getSelectedObjects(); List selectedValues = tableDataCheckBoxPane.getSelectedObjects();
// 删除时如果正在搜索,跳回原树 // 删除时如果正在搜索,跳回原树
if (TableDataTreeSearchManager.getInstance().isInSearchMode()) { if (TableDataTreeSearchManager.getInstance().isInSearchMode()) {
@ -1134,7 +1138,6 @@ public class TableDataTreePane extends BasicTableDataTreePane {
} }
} }
} }
@Override @Override
public void doCancel() { public void doCancel() {
super.doCancel(); super.doCancel();

Loading…
Cancel
Save