Skip to content

Commit 97bb580

Browse files
authored
fix(Radio): fix style error when laying out horizontally (#3497)
1 parent 5e97c71 commit 97bb580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radio/radio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default class Radio extends SuperComponent {
105105
customIcon: isIdArr,
106106
slotIcon: icon === 'slot',
107107
iconVal: isIdArr ? this.$parent?.icon || icon : [],
108-
_placement: this.data.placement ?? this.$parent?.data?.placement ?? 'left',
108+
_placement: this.data.placement || this.$parent?.data?.placement || 'left',
109109
});
110110
},
111111

0 commit comments

Comments
 (0)