Browse Source

REPORT-38692 fix: 树控件寻找节点错误问题

es6
iapyang 4 years ago
parent
commit
67cfcdec03
  1. 4
      src/component/treevaluechooser/abstract.treevaluechooser.js

4
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -749,14 +749,16 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
return false; return false;
} }
if (node.value === parentValues[index]) { if (node.value === parentValues[index] && node.getParent() === currentParent) {
index++; index++;
currentParent = node; currentParent = node;
return; return;
} }
return true; return true;
}); });
return findParentNode; return findParentNode;
}, },

Loading…
Cancel
Save