mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
refactor(components): [el-alert] improve judgment (#1985)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
>
|
||||
<slot name="title">{{ title }}</slot>
|
||||
</span>
|
||||
<p v-if="$slots.default || !!description" class="el-alert__description">
|
||||
<p v-if="$slots.default || description" class="el-alert__description">
|
||||
<slot>
|
||||
{{ description }}
|
||||
</slot>
|
||||
|
||||
Reference in New Issue
Block a user