From 5b9759710b8a4af84432d94a96ed96bcdd769fcb Mon Sep 17 00:00:00 2001 From: invalid w Date: Mon, 30 Oct 2023 16:08:56 +0800 Subject: [PATCH] chore(ApiSelect): optimize the type of OptionsItem --- 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 bb46c0b2f..fa0d11c9b 100644 --- a/src/components/Form/src/components/ApiSelect.vue +++ b/src/components/Form/src/components/ApiSelect.vue @@ -32,7 +32,7 @@ import { useI18n } from '/@/hooks/web/useI18n'; import { propTypes } from '/@/utils/propTypes'; - type OptionsItem = { label: string; value: string; disabled?: boolean }; + type OptionsItem = { label?: string; value?: string; disabled?: boolean; [name: string]: any }; export default defineComponent({ name: 'ApiSelect',