From ac9194e0c971adcafc747eb6b5f9d50b330fb568 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 27 Jul 2020 17:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/date/calendar/picker.date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/date/calendar/picker.date.js b/src/widget/date/calendar/picker.date.js index 2c4e312a7..21258aadf 100644 --- a/src/widget/date/calendar/picker.date.js +++ b/src/widget/date/calendar/picker.date.js @@ -87,7 +87,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { }); this.month.on(BI.MonthDateCombo.EVENT_CHANGE, function () { self.setValue({ - year: self.year.getValue(), + year: self.year.getValue() || self._year, month: self.month.getValue(), }); self.fireEvent(BI.DatePicker.EVENT_CHANGE);