Skip to content

Commit

Permalink
fix: steps新增itemStyle属性名称冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 5, 2024
1 parent 937b6df commit f991e4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:class="[`u-steps-item__line--${parentData.direction}`]" :style="[lineStyle]"></view>
<view class="u-steps-item__wrapper"
:class="[`u-steps-item__wrapper--${parentData.direction}`, parentData.dot && `u-steps-item__wrapper--${parentData.direction}--dot`]"
:style="[itemStyle]">
:style="[itemStyleInner]">
<slot name="icon">
<view class="u-steps-item__wrapper__dot" v-if="parentData.dot" :style="{
backgroundColor: statusColor
Expand Down Expand Up @@ -117,7 +117,7 @@
.current ? this.parentData.activeColor : this.parentData.inactiveColor
return style
},
itemStyle() {
itemStyleInner() {
return {
...this.itemStyle
}
Expand Down

0 comments on commit f991e4b

Please sign in to comment.