mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix: 修改min-date和max-date的传值校验
This commit is contained in:
parent
a5583e6f77
commit
37d8e697c9
@ -55,11 +55,11 @@ VantComponent({
|
||||
observer: 'reset',
|
||||
},
|
||||
minDate: {
|
||||
type: null,
|
||||
type: Number,
|
||||
value: Date.now(),
|
||||
},
|
||||
maxDate: {
|
||||
type: null,
|
||||
type: Number,
|
||||
value: new Date(
|
||||
new Date().getFullYear(),
|
||||
new Date().getMonth() + 6,
|
||||
|
Loading…
x
Reference in New Issue
Block a user