Skip to content

Commit

Permalink
fix: 🐛 修复 steps 组件自定义图标显示异常的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Moonofweisheng committed Jan 8, 2024
1 parent 8a9c344 commit 0300f63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<view :class="`wd-step__icon ${dot ? 'is-dot' : !!icon || iconSlot ? 'is-icon' : 'is-text'}`">
<view v-if="dot" class="wd-step__dot"></view>
<slot v-else-if="iconSlot" name="icon" />
<wd-icon v-else-if="icon" class="wd-step__icon-inner" :name="icon" />
<wd-icon v-else-if="icon" custom-class="wd-step__icon-inner" :name="icon" />
<view v-else class="wd-step__icon-outer">
<wd-icon v-if="currentStatus === 'finished'" name="check-bold" />
<wd-icon v-else-if="currentStatus === 'error'" name="close-bold" />
Expand Down

0 comments on commit 0300f63

Please sign in to comment.