mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix: invalid Function prop (#1963)
This commit is contained in:
parent
fea272200d
commit
5c7b4fb4b3
@ -45,12 +45,8 @@ VantComponent({
|
||||
|
||||
props: {
|
||||
...pickerProps,
|
||||
formatter: {
|
||||
type: Function,
|
||||
value: defaultFormatter
|
||||
},
|
||||
filter: Function,
|
||||
value: null,
|
||||
filter: null,
|
||||
type: {
|
||||
type: String,
|
||||
value: 'datetime'
|
||||
@ -59,6 +55,10 @@ VantComponent({
|
||||
type: Boolean,
|
||||
value: true
|
||||
},
|
||||
formatter: {
|
||||
type: null,
|
||||
value: defaultFormatter
|
||||
},
|
||||
minDate: {
|
||||
type: Number,
|
||||
value: new Date(currentYear - 10, 0, 1).getTime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user