fix(ApiSelect): Incorrect value type definition. close #3168
This commit is contained in:
parent
8df2590aae
commit
0cf79d4ce2
|
|
@ -42,7 +42,7 @@
|
|||
},
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
value: { type: Object as PropType<SelectValue> },
|
||||
value: { type: [Array, Object, String, Number] as PropType<SelectValue> },
|
||||
numberToString: propTypes.bool,
|
||||
api: {
|
||||
type: Function as PropType<(arg?: any) => Promise<OptionsItem[]>>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue