mirror of https://github.com/layui/layui
修复了layDate初始值报错问题
parent
0838e6619f
commit
c1404cef09
File diff suppressed because one or more lines are too long
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