We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e2e87 commit 5a3b081Copy full SHA for 5a3b081
components/alert/index.tsx
@@ -150,7 +150,7 @@ const Alert = defineComponent({
150
});
151
return closed ? null : (
152
<Transition {...transitionProps}>
153
- <div {...$attrs} v-show={!closing} class={alertCls} data-show={!closing}>
+ <div {...$attrs} v-show={!closing} class={[$attrs.class, alertCls]} data-show={!closing}>
154
{showIcon ? iconNode : null}
155
<span class={`${prefixCls}-message`}>{message}</span>
156
<span class={`${prefixCls}-description`}>{description}</span>
0 commit comments