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

pull/6871/head
Konv Suu 1 year ago committed by GitHub
parent 6cf5d79e2e
commit 9e78b4a985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save