From df746f21f0d67eb2ea6da053727558030f18a384 Mon Sep 17 00:00:00 2001
From: xingyu <xingyu4j@vip.qq.com>
Date: Wed, 18 Oct 2023 17:51:46 +0800
Subject: [PATCH] fix(ApiSelect): Incorrect value type definition

---
 src/components/Form/src/components/ApiSelect.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Form/src/components/ApiSelect.vue b/src/components/Form/src/components/ApiSelect.vue
index 29708761..686e18e8 100644
--- a/src/components/Form/src/components/ApiSelect.vue
+++ b/src/components/Form/src/components/ApiSelect.vue
@@ -12,7 +12,7 @@ import { propTypes } from '@/utils/propTypes'
 defineOptions({ name: 'ApiSelect', inheritAttrs: false })
 
 const props = defineProps({
-  value: { type: Object as PropType<SelectValue> },
+  value: { type: [Array, Object, String, Number] as PropType<SelectValue> },
   numberToString: propTypes.bool,
   api: {
     type: Function as PropType<(arg?: Recordable) => Promise<OptionsItem[]>>,