修复了layDate初始值报错问题
This commit is contained in:
parent
0838e6619f
commit
c1404cef09
2
dist/lay/modules/laydate.js
vendored
2
dist/lay/modules/laydate.js
vendored
File diff suppressed because one or more lines are too long
2
dist/layui.all.js
vendored
2
dist/layui.all.js
vendored
File diff suppressed because one or more lines are too long
@ -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…
Reference in New Issue
Block a user