Browse Source

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

fbp/merge
Destiny.Lin 4 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() {
@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();

Loading…
Cancel
Save