Browse Source

Pull request #1495: REPORT-38692 链路上所有节点都有加上父亲节点判断

Merge in VISUAL/fineui from ~TELLER/fineui:master to master

* commit '67cfcdec03c9285af23ed4060a29973855b15eb0':
  REPORT-38692 fix: 树控件寻找节点错误问题
master
guy 4 years ago
parent
commit
06c8f980ae
  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;
}
if (node.value === parentValues[index]) {
if (node.value === parentValues[index] && node.getParent() === currentParent) {
index++;
currentParent = node;
return;
}
return true;
});
return findParentNode;
},

Loading…
Cancel
Save