Browse Source

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

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

* commit '67cfcdec03c9285af23ed4060a29973855b15eb0':
  REPORT-38692 fix: 树控件寻找节点错误问题
es6
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; 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