Skip to content

Commit

Permalink
fix: finalPlacement
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Dec 6, 2024
1 parent d5d45da commit a618ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radio/radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineComponent({
});
const finalPlacement = computed(() => {
if (props.placement == null && 'placement' in rootGroupProps) return rootGroupProps.placement;
return props.placement;
return props.placement || 'left';
});

const finalAllowUncheck = computed(() => Boolean(props.allowUncheck || rootGroupProps?.allowUncheck));
Expand Down

0 comments on commit a618ec0

Please sign in to comment.