Browse Source

Pull request #75322: 无JIRA 同步

Merge in DEC/fineui from ~WINDY/fineui:final/11.0 to final/11.0

* commit '8692cbe128929076be669deb90617b0f1b334cba':
  无JIRA 同步
research/test
windy 2 years ago
parent
commit
0aff3a1107
  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 () { _init: function () {
var self = this, o = this.options; var self = this, o = this.options;
BI.isNumeric(o.width) && (o.width -= 2); BI.isNumeric(o.width) && (o.width -= (o.simple ? 0 : 2));
BI.isNumeric(o.height) && (o.height -= 2); BI.isNumeric(o.height) && (o.height -= (o.simple ? 1 : 2));
o.value = BI.isFunction(o.value) ? this.__watch(o.value, function (context, newValue) { o.value = BI.isFunction(o.value) ? this.__watch(o.value, function (context, newValue) {
self.setValue(newValue); self.setValue(newValue);
}) : o.value; }) : o.value;

Loading…
Cancel
Save