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, {
_defaultConfig: function () {
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: [{
type: "bi.vertical"
}],
behaviors: {
redmark: function () {
return true;
}
},
behaviors: o.behaviors,
value: o.value
});

Loading…
Cancel
Save