fix(ApiSelect): Incorrect value type definition. close #3168

This commit is contained in:
invalid w 2023-10-18 17:24:32 +08:00
parent 8df2590aae
commit 0cf79d4ce2
1 changed files with 1 additions and 1 deletions

View File

@ -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[]>>,