mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 14:45:49 +08:00
修复 laydate 中 min/max/value 的提示逻辑错误
This commit is contained in:
@@ -836,8 +836,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
//初始值不在最大最小范围内
|
||||
minMaxError && that.setValue(that.parse()).hint('初始值' + lang.invalidDate + lang.formatError[1]);
|
||||
// 初始值不在最大最小范围内
|
||||
if(minMaxError && value){
|
||||
that.setValue(that.parse());
|
||||
that.hint('value ' + lang.invalidDate + lang.formatError[1]);
|
||||
}
|
||||
|
||||
fn && fn();
|
||||
return that;
|
||||
|
||||
Reference in New Issue
Block a user