Skip to content

Commit d94c761

Browse files
committed
fix(Radio): radio group [optionType: 'button'] display error
1 parent 904b591 commit d94c761

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/components/src/radio/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ export type RadioGroupProps = typeof ElRadioGroup & {
2323
optionType: 'defalt' | 'button'
2424
}
2525

26-
const TransformElRadioGroup = transformComponent(ElRadioGroup, {
27-
change: 'input',
28-
})
29-
3026
const RadioGroupOption = defineComponent({
3127
name: 'FRadioGroup',
3228
props: {
@@ -80,7 +76,7 @@ const RadioGroupOption = defineComponent({
8076
}
8177
: slots
8278
return h(
83-
TransformElRadioGroup,
79+
ElRadioGroup,
8480
{
8581
...attrs,
8682
},

0 commit comments

Comments
 (0)