From 218b133fbf73e1b8f0d4dbeb40593853bd87afc7 Mon Sep 17 00:00:00 2001 From: sunxiaobin89 <470459819@qq.com> Date: Mon, 22 Aug 2022 23:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=92=8C=E5=8A=A0=E5=BC=BA=E4=B8=80=E4=BA=9B=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/laydate.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/laydate.js b/src/modules/laydate.js index b24321e2..4205b341 100644 --- a/src/modules/laydate.js +++ b/src/modules/laydate.js @@ -41,7 +41,7 @@ //主体CSS等待事件 ,ready: function(fn){ var cssname = 'laydate', ver = '' - ,path = (isLayui ? 'modules/laydate/' : 'theme/') + 'default/laydate.css?v='+ laydate.v + ver; + ,path = (isLayui ? 'modules/' : '') + 'laydate.css?v='+ laydate.v + ver; isLayui ? layui.addcss(path, fn, cssname) : ready.link(path, fn, cssname); return this; } @@ -896,7 +896,7 @@ }; //无效日期范围的标记 - Class.prototype.limit = function(elem, date, index, time){ + Class.prototype.limit = function(elem, date, index, time, type){ var that = this ,options = that.config, timestrap = {} ,dateTime = index > (time ? 0 : 41) ? that.endDate : options.dateTime @@ -1824,7 +1824,7 @@ }; // 获取 - laydate.getIns = function (key) { + laydate.getInst = function (key) { var that = thisModule.getThis(key); if (that) { return that.inst;