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: {
|
props: {
|
||||||
...pickerProps,
|
...pickerProps,
|
||||||
formatter: {
|
|
||||||
type: Function,
|
|
||||||
value: defaultFormatter
|
|
||||||
},
|
|
||||||
filter: Function,
|
|
||||||
value: null,
|
value: null,
|
||||||
|
filter: null,
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
value: 'datetime'
|
value: 'datetime'
|
||||||
@ -59,6 +55,10 @@ VantComponent({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
value: true
|
value: true
|
||||||
},
|
},
|
||||||
|
formatter: {
|
||||||
|
type: null,
|
||||||
|
value: defaultFormatter
|
||||||
|
},
|
||||||
minDate: {
|
minDate: {
|
||||||
type: Number,
|
type: Number,
|
||||||
value: new Date(currentYear - 10, 0, 1).getTime()
|
value: new Date(currentYear - 10, 0, 1).getTime()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user