From 96c5bff5594d61c18e0bbb245af08168d83aea30 Mon Sep 17 00:00:00 2001 From: zsmj Date: Mon, 26 Sep 2022 17:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20fix:=20=E5=A4=A7=E8=BF=90?= =?UTF-8?q?=E7=BB=B4=E5=8F=8D=E9=A6=88,=20=E5=A4=8D=E9=80=89=E6=A0=91?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E8=AE=BE=E7=BD=AEisParent=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/treevaluechooser/abstract.treevaluechooser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 123185e08..f1a7665d5 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -547,7 +547,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { value: nodes[i].value, text: nodes[i].text, times: 1, - isParent: nodes[i].getChildrenLength() > 0, + isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0, checked: state[0], half: state[1], halfCheck: openState ? false : state[1], @@ -712,7 +712,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { times: 1, isParent: false, checked: true, - halfCheck: false + halfCheck: false, }; }); },