From 8f64e500139522354d4462b75ce28ef3e5b86b7a Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 23 Jul 2020 14:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E5=8D=95?= =?UTF-8?q?=E9=80=89=E6=A0=91=E4=B8=8D=E9=80=89=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../multilayerselecttree/multilayerselecttree.leveltree.js | 2 +- .../multilayersingletree/multilayersingletree.leveltree.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js index 1ee8e1c60..936e39211 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js @@ -113,7 +113,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { isDefaultInit: o.itemsCreator !== BI.emptyFn, el: { type: "bi.button_tree", - chooseType: BI.Selection.Default, // 不使用buttontree内部getValue逻辑 + chooseType: o.chooseType === BI.Selection.None ? BI.Selection.None : BI.Selection.Default, // 不使用buttontree内部getValue逻辑 behaviors: o.behaviors, layouts: [{ type: "bi.vertical" diff --git a/src/widget/multilayersingletree/multilayersingletree.leveltree.js b/src/widget/multilayersingletree/multilayersingletree.leveltree.js index 09b75e3b8..d4eed85fa 100644 --- a/src/widget/multilayersingletree/multilayersingletree.leveltree.js +++ b/src/widget/multilayersingletree/multilayersingletree.leveltree.js @@ -112,7 +112,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { isDefaultInit: o.itemsCreator !== BI.emptyFn, el: { type: "bi.button_tree", - chooseType: BI.Selection.Default, // 不使用buttontree内部getValue逻辑 + chooseType: o.chooseType === BI.Selection.None ? BI.Selection.None : BI.Selection.Default, // 不使用buttontree内部getValue逻辑 behaviors: o.behaviors, layouts: [{ type: "bi.vertical"