Skip to content

Commit

Permalink
fix(tag): checkable tag don't pass class props (#6854), close #6850
Browse files Browse the repository at this point in the history
  • Loading branch information
kovsu authored Aug 18, 2023
1 parent 6cf5d79 commit 9e78b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tag/CheckableTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const CheckableTag = defineComponent({

return () => {
return wrapSSR(
<span {...attrs} class={cls.value} onClick={handleClick}>
<span {...attrs} class={[cls.value, attrs.class]} onClick={handleClick}>
{slots.default?.()}
</span>,
);
Expand Down

0 comments on commit 9e78b4a

Please sign in to comment.