mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
fix(components): [step] className should be is-icon when using icon slot (#8706)
This commit is contained in:
parent
b50e21015c
commit
f850aa28cb
@ -14,7 +14,9 @@
|
||||
<i :class="ns.e('line-inner')" :style="lineStyle" />
|
||||
</div>
|
||||
|
||||
<div :class="[ns.e('icon'), ns.is(icon ? 'icon' : 'text')]">
|
||||
<div
|
||||
:class="[ns.e('icon'), ns.is(icon || $slots.icon ? 'icon' : 'text')]"
|
||||
>
|
||||
<slot
|
||||
v-if="currentStatus !== 'success' && currentStatus !== 'error'"
|
||||
name="icon"
|
||||
|
Loading…
Reference in New Issue
Block a user