Skip to content

Commit e2de9d3

Browse files
committed
fix(t-step-item): 修复title插槽在skyline渲染下展示偏右 (#3516)
1 parent f211594 commit e2de9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/step-item/step-item.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
>
3131
<slot />
3232
<view class="{{_.cls(classPrefix + '__title', [curStatus, layout])}} {{prefix}}-class-title">
33-
{{ title }}
33+
<block wx:if="{{title}}">{{ title }}></block>
3434
<slot name="title" />
3535
<slot wx:if="{{layout === 'vertical'}}" name="title-right" />
3636
</view>

0 commit comments

Comments
 (0)