feat(message): add class to distinguish type (#882)

This commit is contained in:
Allen 2021-08-16 01:57:52 +08:00 committed by GitHub
parent 3d7f96dd00
commit 3cf31305b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,7 @@ export default defineComponent({
: 'flex-end'
}}
>
<div class={`${mergedClsPrefix}-message`}>
<div class={`${mergedClsPrefix}-message ${mergedClsPrefix}-message--${type}-type`}>
<div
class={`${mergedClsPrefix}-message__icon ${mergedClsPrefix}-message__icon--${type}-type`}
>