|
|
@ -16,7 +16,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
|
|
|
|
|
|
|
|
el: {type: "bi.text_button", text: "", value: ""}, |
|
|
|
el: {type: "bi.text_button", text: "", value: ""}, |
|
|
|
children: [], |
|
|
|
items: [], |
|
|
|
|
|
|
|
|
|
|
|
popup: { |
|
|
|
popup: { |
|
|
|
el: { |
|
|
|
el: { |
|
|
@ -36,7 +36,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_populate: function (item) { |
|
|
|
_populate: function (item) { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
var children = o.children; |
|
|
|
var children = o.items; |
|
|
|
if (BI.isEmpty(children)) { |
|
|
|
if (BI.isEmpty(children)) { |
|
|
|
throw new Error("ComboGroup构造错误"); |
|
|
|
throw new Error("ComboGroup构造错误"); |
|
|
|
} |
|
|
|
} |
|
|
@ -45,7 +45,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { |
|
|
|
ch = BI.formatEL(ch).el; |
|
|
|
ch = BI.formatEL(ch).el; |
|
|
|
if (!BI.isEmpty(son)) { |
|
|
|
if (!BI.isEmpty(son)) { |
|
|
|
ch.el = BI.clone(ch); |
|
|
|
ch.el = BI.clone(ch); |
|
|
|
ch.children = son; |
|
|
|
ch.items = son; |
|
|
|
ch.type = "bi.combo_group"; |
|
|
|
ch.type = "bi.combo_group"; |
|
|
|
ch.action = o.action; |
|
|
|
ch.action = o.action; |
|
|
|
ch.height = o.height; |
|
|
|
ch.height = o.height; |
|
|
|