diff --git a/src/components/Form/src/components/RadioButtonGroup.vue b/src/components/Form/src/components/RadioButtonGroup.vue index c2c7b22..79d8d89 100644 --- a/src/components/Form/src/components/RadioButtonGroup.vue +++ b/src/components/Form/src/components/RadioButtonGroup.vue @@ -5,7 +5,8 @@ @@ -16,8 +17,13 @@ import { isString } from '/@/utils/is'; import { useRuleFormItem } from '/@/hooks/component/useFormItem'; import { useAttrs } from '/@/hooks/core/useAttrs'; - - type OptionsItem = { label: string; value: string | number | boolean; disabled?: boolean }; + import { Icon } from '/@/components/Icon'; + type OptionsItem = { + icon?: string; + label?: string; + value: string | number | boolean; + disabled?: boolean; + }; type RadioItem = string | OptionsItem; export default defineComponent({ @@ -25,6 +31,7 @@ components: { RadioGroup: Radio.Group, RadioButton: Radio.Button, + Icon, }, props: { value: {