From 3cb1f159f12b83e0958c98ec48622d873ab8ecab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 25 Aug 2022 16:53:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20laydate=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=20css=20=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/laydate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/laydate.js b/src/modules/laydate.js index bfa37af6..2bf890f7 100644 --- a/src/modules/laydate.js +++ b/src/modules/laydate.js @@ -38,10 +38,10 @@ return that; } - //主体CSS等待事件 + // 主体 CSS 等待事件 ,ready: function(fn){ var cssname = 'laydate', ver = '' - ,path = (isLayui ? 'modules/laydate/' : 'theme/') + 'default/laydate.css?v='+ laydate.v + ver; + ,path = (isLayui ? 'modules/' : 'css/') + 'laydate.css?v='+ laydate.v + ver; isLayui ? layui.addcss(path, fn, cssname) : ready.link(path, fn, cssname); return this; }