Browse Source

fix(ApiSelect): api 类型错误

main
刘凯 1 year ago
parent
commit
f37673023a
  1. 7
      src/components/Form/src/components/ApiSelect.vue

7
src/components/Form/src/components/ApiSelect.vue

@ -10,7 +10,12 @@ import { useRuleFormItem } from '@/hooks/component/useFormItem'
import { useI18n } from '@/hooks/web/useI18n'
import { propTypes } from '@/utils/propTypes'
interface OptionsItem { label: string, value: string, disabled?: boolean }
interface OptionsItem {
label?: string
value?: string
disabled?: boolean
[key: string]: any
}
defineOptions({ name: 'ApiSelect', inheritAttrs: false })

Loading…
Cancel
Save