From dcff7c6aa82e7416acaa0f0c0cd561d6eb1b062f Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Sun, 28 Jun 2020 09:26:18 +0800 Subject: [PATCH] update --- src/base/tree/ztree/asynctree.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/tree/ztree/asynctree.js b/src/base/tree/ztree/asynctree.js index 2ae126ca77..89f02680a2 100644 --- a/src/base/tree/ztree/asynctree.js +++ b/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) {