Browse Source

BI-63837 fix: 全选父节点后去选选中子节点再勾选此子节点不对

es6
windy 5 years ago
parent
commit
d9159cbb0a
  1. 2
      src/base/tree/ztree/asynctree.js

2
src/base/tree/ztree/asynctree.js

@ -204,7 +204,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
if (BI.isNull(compare[n])) {
self._addTreeNode(map, parent, n, item);
} else if (BI.isEmpty(compare[n])) {
self._addTreeNode(map, parent, n, item);
self._addTreeNode(map, parent, n, {});
} else {
track(parent.concat([n]), node[n], compare[n]);
}

Loading…
Cancel
Save