type(select): update value type (#1051)

This commit is contained in:
CJ 2021-09-02 19:43:59 +08:00 committed by GitHub
parent 174377efb9
commit 6250d128b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ const selectProps = {
type: [String, Number, Array] as PropType<Value | null>,
default: null
},
value: [String, Number, Array] as PropType<Value>,
value: [String, Number, Array] as PropType<Value | null>,
placeholder: String,
multiple: Boolean,
size: String as PropType<Size>,