From c36ea5509b7700e9933bd66dc0934306fa73635f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 20 Sep 2019 11:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E8=B7=A8?= =?UTF-8?q?=E6=9C=88=E6=97=B6=E7=8A=B6=E6=80=81=E6=9B=B4=E6=96=B0=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/picker/date.wc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/picker/date.wc b/src/picker/date.wc index 38174f7..1f33c02 100644 --- a/src/picker/date.wc +++ b/src/picker/date.wc @@ -450,6 +450,7 @@ export default class DatePicker { } else if (max.year === last.year) { if (last.month > max.month) { last.month = max.month + last.day = max.day } else if (last.month === max.month) { if (last.day > max.day) { last.day = max.day @@ -465,6 +466,7 @@ export default class DatePicker { } else if (last.year === min.year) { if (last.month < min.month) { last.month = min.month + last.day = min.day } else if (last.month === min.month) { if (last.day < min.day) { last.day = min.day