Browse Source

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

fbp/release
Destiny.Lin 3 months ago
parent
commit
c8fae85240
  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

@ -11,6 +11,7 @@ import com.fr.design.DesignModelAdapter;
import com.fr.design.DesignerEnvManager;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.actions.UpdateAction;
import com.fr.design.cache.DesignCacheManager;
import com.fr.design.data.BasicTableDataTreePane;
import com.fr.design.data.BasicTableDataUtils;
import com.fr.design.data.DesignTableDataManager;
@ -1191,6 +1192,10 @@ public class TableDataTreePane extends BasicTableDataTreePane {
@Override
public void actionPerformed(ActionEvent e) {
DesignCacheManager.processByCacheTableData(this::doPaste);
}
private void doPaste() {
// 粘贴时如果正在搜索,跳回原树
if (TableDataTreeSearchManager.getInstance().isInSearchMode()) {
TableDataTreeSearchManager.getInstance().outOfSearchMode();

Loading…
Cancel
Save