From 12517aaa112ebd07ded08d8a15ab1e6d78ecf692 Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 27 Nov 2020 16:39:38 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-44278=20fix:=20=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E8=80=8C=E4=B8=8D=E4=BB=85=E4=BB=85=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=97=B6=E5=B0=B1=E8=A6=81=E8=AE=A1=E7=AE=97=E7=81=B0=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/date/calendar/popup.year.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/widget/date/calendar/popup.year.js b/src/widget/date/calendar/popup.year.js index 63ef1f1b6..ad5599c2a 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());