|
|
|
@ -111,9 +111,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, {
|
|
|
|
|
el: { |
|
|
|
|
type: "bi.loader", |
|
|
|
|
isDefaultInit: o.itemsCreator !== BI.emptyFn, |
|
|
|
|
chooseType: o.chooseType, |
|
|
|
|
el: { |
|
|
|
|
type: "bi.button_tree", |
|
|
|
|
chooseType: o.chooseType, |
|
|
|
|
behaviors: o.behaviors, |
|
|
|
|
layouts: [{ |
|
|
|
|
type: "bi.vertical" |
|
|
|
@ -150,8 +150,12 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
|
// getValue依赖于storeValue, 那么不选的时候就不要更新storeValue了
|
|
|
|
|
if(this.options.chooseType === BI.Selection.None) { |
|
|
|
|
} else { |
|
|
|
|
this.storeValue = v; |
|
|
|
|
this.tree.setValue(v); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
|