Browse Source

chore(ApiSelect): optimize the type of OptionsItem

main
xingyu 2 years ago
parent
commit
29ef568c5f
  1. 2
      src/components/Form/src/components/ApiRadioGroup.vue

2
src/components/Form/src/components/ApiRadioGroup.vue

@ -11,7 +11,7 @@ import { useRuleFormItem } from '@/hooks/component/useFormItem'
import { useAttrs } from '@/hooks/core/useAttrs'
import { propTypes } from '@/utils/propTypes'
interface OptionsItem { label: string; value: string | number | boolean; disabled?: boolean }
interface OptionsItem { label: string; value: string | number | boolean; disabled?: boolean; [name: string]: any }
defineOptions({ name: 'ApiRadioGroup' })