From 4ffa2a0cc2d0e1c87990ef3d851b5118a3075a5b Mon Sep 17 00:00:00 2001 From: zsmj Date: Tue, 6 Jun 2023 19:52:18 +0800 Subject: [PATCH] =?UTF-8?q?BI-127907=20fix:=20=E3=80=906.0.11=E3=80=91?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E8=AE=BE=E7=BD=AE=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=8F=AF=E9=80=89=E5=8C=BA=E9=97=B4=EF=BC=8C=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E9=80=89=E5=88=B0=E5=B7=A6=E5=8C=BA=E9=97=B4?= =?UTF-8?q?=E5=89=8D=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/core/2.base.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/fineui/src/core/2.base.js b/packages/fineui/src/core/2.base.js index 0c8e5f61c..23fc68095 100644 --- a/packages/fineui/src/core/2.base.js +++ b/packages/fineui/src/core/2.base.js @@ -1227,19 +1227,19 @@ export function checkDateVoid(YY, MM, DD, minDate, maxDate) { } else if (YY > maxDate[0]) { back = ["y", 1]; } else if (YY >= minDate[0] && YY <= maxDate[0]) { - if (YY === minDate[0]) { + if (YY == minDate[0]) { if (MM < minDate[1]) { back = ["m"]; - } else if (MM === minDate[1]) { + } else if (MM == minDate[1]) { if (DD < minDate[2]) { back = ["d"]; } } } - if (YY === maxDate[0]) { + if (YY == maxDate[0]) { if (MM > maxDate[1]) { back = ["m", 1]; - } else if (MM === maxDate[1]) { + } else if (MM == maxDate[1]) { if (DD > maxDate[2]) { back = ["d", 1]; }