Browse Source

针对移动端rem进行适配

es6
guy 4 years ago
parent
commit
93bc3601ed
  1. 3
      src/widget/year/combo.year.js
  2. 3
      src/widget/yearmonth/combo.yearmonth.js
  3. 3
      src/widget/yearquarter/combo.yearquarter.js

3
src/widget/year/combo.year.js

@ -64,6 +64,7 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false,
el: this.trigger,
destroyWhenHide: true,
adjustLength: 1,
popup: {
minWidth: 85,
stopPropagation: false,
@ -205,4 +206,4 @@ BI.shortcut("bi.dynamic_year_combo", BI.DynamicYearCombo);
BI.extend(BI.DynamicYearCombo, {
Static: 1,
Dynamic: 2
});
});

3
src/widget/yearmonth/combo.yearmonth.js

@ -62,6 +62,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
isNeedAdjustWidth: false,
el: this.trigger,
destroyWhenHide: true,
adjustLength: 1,
popup: {
minWidth: 100,
stopPropagation: false,
@ -203,4 +204,4 @@ BI.shortcut("bi.dynamic_year_month_combo", BI.DynamicYearMonthCombo);
BI.extend(BI.DynamicYearMonthCombo, {
Static: 1,
Dynamic: 2
});
});

3
src/widget/yearquarter/combo.yearquarter.js

@ -62,6 +62,7 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
isNeedAdjustWidth: false,
el: this.trigger,
destroyWhenHide: true,
adjustLength: 1,
popup: {
minWidth: 85,
stopPropagation: false,
@ -203,4 +204,4 @@ BI.shortcut("bi.dynamic_year_quarter_combo", BI.DynamicYearQuarterCombo);
BI.extend(BI.DynamicYearQuarterCombo, {
Static: 1,
Dynamic: 2
});
});

Loading…
Cancel
Save