chore(ApiSelect): optimize the type of OptionsItem

This commit is contained in:
invalid w 2023-10-30 16:08:56 +08:00
parent 726bb73b58
commit 5b9759710b

View File

@ -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',