Browse Source

chore(ApiSelect): optimize the type of OptionsItem

pull/3215/head
invalid w 3 years ago
parent
commit
5b9759710b
  1. 2
      src/components/Form/src/components/ApiSelect.vue

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

Loading…
Cancel
Save