windy 4 years ago
parent
commit
dcff7c6aa8
  1. 1
      src/base/tree/ztree/asynctree.js

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

@ -68,6 +68,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
}
function beforeCheck (treeId, treeNode) {
// 下面主动修改了node的halfCheck属性, 节点属性的判断依赖halfCheck,改之前就获取一下
var status = treeNode.getCheckStatus();
treeNode.halfCheck = false;
if (treeNode.checked === true) {

Loading…
Cancel
Save