Browse Source

修复了layDate初始值报错问题

pull/62/head
sentsin 7 years ago
parent
commit
c1404cef09
  1. 2
      dist/lay/modules/laydate.js
  2. 2
      dist/layui.all.js
  3. 2
      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

2
src/lay/modules/laydate.js

@ -536,7 +536,7 @@
//默认赋值 //默认赋值
if(options.value){ if(options.value){
if(value.constructor === Date){ if(options.value.constructor === Date){
that.setValue(that.parse(0, that.systemDate(options.value))); that.setValue(that.parse(0, that.systemDate(options.value)));
} else { } else {
that.setValue(options.value); that.setValue(options.value);

Loading…
Cancel
Save