Browse Source

Merge pull request #75324 in DEC/fineui from final/11.0 to release/11.0

* commit '0aff3a1107f0a45c0f73d2e22b233f7735c49b19':
  无JIRA 同步
master
superman 2 years ago
parent
commit
55b36bbe3f
  1. 4
      src/case/combo/textvaluecombo/combo.textvalue.js

4
src/case/combo/textvaluecombo/combo.textvalue.js

@ -18,8 +18,8 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
_init: function () {
var self = this, o = this.options;
BI.isNumeric(o.width) && (o.width -= 2);
BI.isNumeric(o.height) && (o.height -= 2);
BI.isNumeric(o.width) && (o.width -= (o.simple ? 0 : 2));
BI.isNumeric(o.height) && (o.height -= (o.simple ? 1 : 2));
o.value = BI.isFunction(o.value) ? this.__watch(o.value, function (context, newValue) {
self.setValue(newValue);
}) : o.value;

Loading…
Cancel
Save