diff --git a/packages/components/message/src/message.vue b/packages/components/message/src/message.vue index cb8ede56ab..6f2f089c83 100644 --- a/packages/components/message/src/message.vue +++ b/packages/components/message/src/message.vue @@ -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,