diff --git a/src/components/Form/src/components/RadioButtonGroup.vue b/src/components/Form/src/components/RadioButtonGroup.vue index 16aa9af5..c33f2940 100644 --- a/src/components/Form/src/components/RadioButtonGroup.vue +++ b/src/components/Form/src/components/RadioButtonGroup.vue @@ -17,7 +17,7 @@ import { isString } from '/@/utils/is'; import { useRuleFormItem } from '/@/hooks/component/useFormItem'; import { useAttrs } from '/@/hooks/core/useAttrs'; - type OptionsItem = { label: string; value: string | number; disabled?: boolean }; + type OptionsItem = { label: string; value: string | number | boolean; disabled?: boolean }; type RadioItem = string | OptionsItem; export default defineComponent({ @@ -28,7 +28,7 @@ }, props: { value: { - type: [String, Number] as PropType, + type: [String, Number, Boolean] as PropType, }, options: { type: Array as PropType,