fix(tag): checkable tag don't pass class props (#6854), close #6850

pull/6871/head
Konv Suu 2023-08-18 14:34:44 +08:00 committed by GitHub
parent 6cf5d79e2e
commit 9e78b4a985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>,
);