Browse Source

修复laydate在webpack下打包报错的问题

pull/65/head v2.1.4
sentsin 7 years ago
parent
commit
2f13ad3055
  1. 2
      dist/lay/modules/laydate.js
  2. 2
      dist/layui.all.js
  3. 5
      src/lay/modules/laydate.js

2
dist/lay/modules/laydate.js vendored

File diff suppressed because one or more lines are too long

2
dist/layui.all.js vendored

File diff suppressed because one or more lines are too long

5
src/lay/modules/laydate.js

@ -1,6 +1,6 @@
/**
@Name : layDate 5.0.6 日期时间控件
@Name : layDate 5.0.7 日期时间控件
@Author: 贤心
@Sitehttp://www.layui.com/laydate/
@LicenseMIT
@ -55,7 +55,7 @@
}
,laydate = {
v: '5.0.6'
v: '5.0.7'
,config: {} //全局配置项
,index: (window.laydate && window.laydate.v) ? 100000 : 0
,path: ready.getPath
@ -71,7 +71,6 @@
,ready: function(fn){
var cssname = 'laydate', ver = ''
,path = (isLayui ? 'modules/laydate/' : 'theme/') + 'default/laydate.css?v='+ laydate.v + ver;
if(typeof define === 'function' && define.amd) return fn();
isLayui ? layui.addcss(path, fn, cssname) : ready.link(path, fn, cssname);
return this;
}

Loading…
Cancel
Save