Skip to content

Commit 9e78b4a

Browse files
authored
fix(tag): checkable tag don't pass class props (#6854), close #6850
1 parent 6cf5d79 commit 9e78b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tag/CheckableTag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const CheckableTag = defineComponent({
4444

4545
return () => {
4646
return wrapSSR(
47-
<span {...attrs} class={cls.value} onClick={handleClick}>
47+
<span {...attrs} class={[cls.value, attrs.class]} onClick={handleClick}>
4848
{slots.default?.()}
4949
</span>,
5050
);

0 commit comments

Comments
 (0)