Browse Source

Pull request #1340: REPORT-31989 样式修改

Merge in VISUAL/fineui from ~TELLER/fineui:master to master

* commit 'e34a320913d29292bce991466c8fb0646a523646':
  REPORT-31989 refactor: 样式修改
es6
Teller 5 years ago
parent
commit
19bb7c1ae2
  1. 11
      src/widget/date/calendar/picker.year.js

11
src/widget/date/calendar/picker.year.js

@ -50,7 +50,8 @@ BI.YearPicker = BI.inherit(BI.Widget, {
type: "bi.year_date_combo",
min: o.min,
behaviors: o.behaviors,
max: o.max
max: o.max,
width: 50
});
this.year.on(BI.YearDateCombo.EVENT_CHANGE, function () {
self.setValue(self.year.getValue());
@ -69,13 +70,7 @@ BI.YearPicker = BI.inherit(BI.Widget, {
}, {
type: "bi.center_adapt",
items: [{
el: {
type: "bi.horizontal_float",
width: 50,
items: [{
el: this.year
}]
}
el: this.year
}]
}, {
el: {

Loading…
Cancel
Save