From 65b183e6679300937376cd6e6f7f586c8eef0fcc Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 19 Mar 2021 14:17:11 +0800 Subject: [PATCH] update --- src/widget/date/calendar/popup.month.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/date/calendar/popup.month.js b/src/widget/date/calendar/popup.month.js index f309ec4bd..2add27d54 100644 --- a/src/widget/date/calendar/popup.month.js +++ b/src/widget/date/calendar/popup.month.js @@ -40,8 +40,8 @@ BI.MonthPopup = BI.inherit(BI.Widget, { value: o.value }); - this.month.on(BI.Controller.EVENT_CHANGE, function (type) { - self.selectedMonth = this.getValue()[0]; + this.month.on(BI.Controller.EVENT_CHANGE, function (type, value) { + self.selectedMonth = value; self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); if (type === BI.Events.CLICK) { self.fireEvent(BI.MonthPopup.EVENT_CHANGE);