fix(components): [message] type is not working after customizing icon (#15233)

This commit is contained in:
betavs 2024-01-01 15:04:39 +08:00 committed by GitHub
parent b12923530a
commit 668a6b00b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@
ref="messageRef"
:class="[
ns.b(),
{ [ns.m(type)]: type && !icon },
{ [ns.m(type)]: type },
ns.is('center', center),
ns.is('closable', showClose),
customClass,