windy 5 years ago
parent
commit
cce7b32a98
  1. 2
      src/widget/multilayerselecttree/multilayerselecttree.leveltree.js
  2. 2
      src/widget/multilayersingletree/multilayersingletree.leveltree.js

2
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.Multi, // 不使用buttontree内部getValue逻辑
chooseType: BI.Selection.Default, // 不使用buttontree内部getValue逻辑
behaviors: o.behaviors,
layouts: [{
type: "bi.vertical"

2
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.Multi, // 不使用buttontree内部getValue逻辑
chooseType: BI.Selection.Default, // 不使用buttontree内部getValue逻辑
behaviors: o.behaviors,
layouts: [{
type: "bi.vertical"

Loading…
Cancel
Save