Skip to content

Commit

Permalink
fix(Radio): radio group [optionType: 'button'] display error (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
cn-xufei committed Dec 25, 2023
1 parent e000ab5 commit 5ad64a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/components/src/radio/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ export type RadioGroupProps = typeof ElRadioGroup & {
optionType: 'defalt' | 'button'
}

const TransformElRadioGroup = transformComponent(ElRadioGroup, {
change: 'input',
})

const RadioGroupOption = defineComponent({
name: 'FRadioGroup',
props: {
Expand Down Expand Up @@ -80,7 +76,7 @@ const RadioGroupOption = defineComponent({
}
: slots
return h(
TransformElRadioGroup,
ElRadioGroup,
{
...attrs,
},
Expand Down

0 comments on commit 5ad64a1

Please sign in to comment.