From 1ee363bad4887e718b97498234348c4ec965efb5 Mon Sep 17 00:00:00 2001 From: "Jimmy.Chai" Date: Fri, 30 Sep 2022 17:11:10 +0800 Subject: [PATCH] BI-114964 fix: revert https://code.fineres.com/projects/DEC/repos/fineui/pull-requests/187222/diff\#src/component/treevaluechooser/abstract.treevaluechooser.js --- src/component/treevaluechooser/abstract.treevaluechooser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 2edc16e50..dc9fe21ae 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -586,7 +586,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { value: node.value, text: node.text, times: 1, - isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0, + isParent: node.getChildrenLength() > 0, checked: state[0], halfCheck: state[1], open: self.options.open,