diff --git a/src/widget/date/calendar/popup.year.js b/src/widget/date/calendar/popup.year.js index 63ef1f1b69..ad5599c2a8 100644 --- a/src/widget/date/calendar/popup.year.js +++ b/src/widget/date/calendar/popup.year.js @@ -68,8 +68,7 @@ BI.YearPopup = BI.inherit(BI.Widget, { items: [this.backBtn, this.preBtn] }, cardCreator: BI.bind(this._createYearCalendar, this), - - afterCardShow: function () { + afterCardCreated: function () { this.setValue(self.selectedYear); var calendar = this.getSelectedCard(); calendar && self.backBtn.setEnable(!calendar.isFrontYear());