mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 12:18:46 +08:00
parent
651438eef3
commit
91fb5c5571
@ -11,9 +11,8 @@
|
||||
<span class="el-alert__title" :class="[ isBoldTitle ]" v-if="title || $slots.title">
|
||||
<slot name="title">{{ title }}</slot>
|
||||
</span>
|
||||
<slot>
|
||||
<p class="el-alert__description" v-if="description">{{ description }}</p>
|
||||
</slot>
|
||||
<p class="el-alert__description" v-if="$slots.default && !description"><slot></slot></p>
|
||||
<p class="el-alert__description" v-if="description && !$slots.default">{{ description }}</p>
|
||||
<i class="el-alert__closebtn" :class="{ 'is-customed': closeText !== '', 'el-icon-close': closeText === '' }" v-show="closable" @click="close()">{{closeText}}</i>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user