mirror of
https://gitee.com/layui/layui.git
synced 2025-10-27 03:09:32 +08:00
修改 laydate 依赖 css 文件路径
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user