修复了layDate初始值报错问题

This commit is contained in:
sentsin
2017-09-03 15:46:29 +08:00
parent 0838e6619f
commit c1404cef09
3 changed files with 3 additions and 3 deletions

View File

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