fix: 修改min-date和max-date的传值校验

This commit is contained in:
ganweilun 2021-07-09 15:04:15 +08:00
parent a5583e6f77
commit 37d8e697c9

View File

@ -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,