From 6ddb1411c88dfc93516f9d0dfd6628a8be5b14d3 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 17 Sep 2022 21:55:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore=EF=BC=9A=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 e4c78c9c5..33a824709 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -548,7 +548,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { isParent: nodes[i].getChildrenLength() > 0, checked: state[0], halfCheck: state[1], - open: nodes[i].open, + open: o.open || nodes[i].open, disabled: nodes[i].disabled, title: nodes[i].title || nodes[i].text, warningTitle: nodes[i].warningTitle, From 9cfb917a1d5d57f6297fa9b1ca21827625ef2a46 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 17 Sep 2022 21:56:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore=EF=BC=9A=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 33a824709..40c10350c 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -589,7 +589,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { isParent: node.getChildrenLength() > 0, checked: state[0], halfCheck: state[1], - open: self.options.open, + open: true, disabled: node.disabled, title: node.title || node.text, warningTitle: node.warningTitle,