Skip to content

Commit

Permalink
refactor(badge): optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Jul 24, 2024
1 parent a42d75b commit d55b1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/badge/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default defineComponent({
const inlineStyle = computed(() => {
const { xOffset, yOffset } = getOffset();
return {
background: `${props.color}`,
background: props.color,
right: xOffset,
top: yOffset,
};
Expand Down

0 comments on commit d55b1c9

Please sign in to comment.