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