Browse Source

Pull request #10311: REPORT-81973 搜索模板时没预加载完就开始搜索,没构建出模板树

Merge in DESIGN/design from ~JOHN.YING/design:release/11.0 to release/11.0

* commit 'cb19a7962c141acce19e40ec5211d4423e1a0c58':
  REPORT-81973 搜索模板时没预加载完就开始搜索,没构建出模板树
release/11.0
John.Ying-应志浩 2 years ago
parent
commit
b6c1e674b6
  1. 3
      designer-base/src/main/java/com/fr/design/gui/itree/filetree/TemplateFileTree.java

3
designer-base/src/main/java/com/fr/design/gui/itree/filetree/TemplateFileTree.java

@ -306,8 +306,7 @@ public class TemplateFileTree extends EnvFileTree {
if (interceptRefresh(root)) {
return;
}
if (!TemplateTreeSearchManager.getInstance().isRefreshing()) {
if (!TemplateTreeSearchManager.getInstance().isRefreshing() || TemplateTreeSearchManager.getInstance().allFileNodes().size() != allTreeNode.size()) {
currentTreeMode.clear();
calculateNode.clear();
allTreeNode = TemplateTreeSearchManager.getInstance().allFileNodes().entrySet().stream().collect(

Loading…
Cancel
Save