修改 laydate 依赖 css 文件路径

pull/1123/head
贤心 2022-08-25 16:53:09 +08:00
parent 23f26a9a8d
commit 3cb1f159f1
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}