Browse Source

Merge pull request #985 in VISUAL/fineui from ~KIRA/fineui:master to master

* commit '016cb209c92293fa26b65e2daa8e6879ea8a0822':
  BI-46736 fix: behaviors配置成可选参数,并不是所有用到的地方都需要doredmark
es6
guy 5 years ago
parent
commit
1bae31d786
  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