From 83202882e3a794f19ee6258007eaf1c590eab7f4 Mon Sep 17 00:00:00 2001 From: Autukill <393382242@qq.com> Date: Mon, 1 Oct 2018 12:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E6=9C=9F=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=9C=A8=E9=80=89=E5=8F=96=E5=BC=80=E5=A7=8B=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E5=90=8E,=E4=BA=A7=E7=94=9F=E7=9A=84=E5=90=84?= =?UTF-8?q?=E7=A7=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 特别当起始\结束日期相同时, 如果结束日期小于开始日期,就会造成日历错乱. 还有第一次选取开始日期后,默认的选区没有消失 --- src/laydate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/laydate.js b/src/laydate.js index 0a75401..83426ff 100644 --- a/src/laydate.js +++ b/src/laydate.js @@ -724,6 +724,7 @@ ); that.checkDate().calendar(); //初始校验 + that.endState = true; //范围选择的初始状态 that.changeEvent(); //日期切换 Class.thisElemDate = that.elemID;