Browse Source

BI-46736 fix: behaviors配置成可选参数,并不是所有用到的地方都需要doredmark

es6
Kira 5 years ago
parent
commit
016cb209c9
  1. 13
      src/case/combo/icontextvaluecombo/popup.icontextvalue.js

13
src/case/combo/icontextvaluecombo/popup.icontextvalue.js

@ -4,7 +4,12 @@
BI.IconTextValueComboPopup = BI.inherit(BI.Pane, { BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.IconTextValueComboPopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.IconTextValueComboPopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-text-icon-popup" baseCls: "bi-icon-text-icon-popup",
behaviors: {
redmark: function () {
return true;
}
}
}); });
}, },
@ -24,11 +29,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
layouts: [{ layouts: [{
type: "bi.vertical" type: "bi.vertical"
}], }],
behaviors: { behaviors: o.behaviors,
redmark: function () {
return true;
}
},
value: o.value value: o.value
}); });

Loading…
Cancel
Save