From aa8c2be72d26332d1609b6b0f6d8346070ef89cf Mon Sep 17 00:00:00 2001 From: windy Date: Tue, 16 Mar 2021 20:27:21 +0800 Subject: [PATCH] =?UTF-8?q?DEC-17634=20=E5=85=B3=E4=BA=8E=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=9A=84=E6=97=B6=E5=80=99=E7=82=B9=E5=87=BB=E5=85=A8?= =?UTF-8?q?=E9=80=89=E5=9B=9E=E6=BB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/tree/ztree/parttree.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/base/tree/ztree/parttree.js b/src/base/tree/ztree/parttree.js index e1cc6fa374..974196b33c 100644 --- a/src/base/tree/ztree/parttree.js +++ b/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; }