Browse Source

Pull request #1842: DEC-17634 关于搜索的时候点击全选回滚

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'aa8c2be72d26332d1609b6b0f6d8346070ef89cf':
  DEC-17634 关于搜索的时候点击全选回滚
es6
windy 4 years ago
parent
commit
2e7940361c
  1. 4
      src/base/tree/ztree/parttree.js

4
src/base/tree/ztree/parttree.js

@ -93,9 +93,7 @@ BI.PartTree = BI.inherit(BI.AsyncTree, {
// if(checkState.checked === true && checkState.half === false && nodes[i].flag === true){
// continue;
// }
// 未展开当前节点和展开当前节点后点击全选应该表现一致
// 这两种情况的check_Child_State分别为-1和2
if (BI.isNotEmptyArray(node.children) && node.check_Child_State !== 2) {
if (BI.isNotEmptyArray(node.children)) {
track(node.children);
return true;
}

Loading…
Cancel
Save