From 79057001107ec7c41f078db37e88af1908b50a21 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Tue, 25 Feb 2025 18:55:22 +0800 Subject: [PATCH] fix(Radio): fix style error when laying out horizontally --- src/radio/radio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radio/radio.ts b/src/radio/radio.ts index 6c372992c..f039ad53f 100644 --- a/src/radio/radio.ts +++ b/src/radio/radio.ts @@ -105,7 +105,7 @@ export default class Radio extends SuperComponent { customIcon: isIdArr, slotIcon: icon === 'slot', iconVal: isIdArr ? this.$parent?.icon || icon : [], - _placement: this.data.placement ?? this.$parent?.data?.placement ?? 'left', + _placement: this.data.placement || this.$parent?.data?.placement || 'left', }); },