Skip to content

Commit f979ccc

Browse files
YILS-LINMoonofweisheng
authored andcommitted
fix: 修复 step 的 description 插槽不显示的bug
1 parent 3d965e0 commit f979ccc

File tree

1 file changed

+1
-1
lines changed
  • src/uni_modules/wot-design-uni/components/wd-step

1 file changed

+1
-1
lines changed

src/uni_modules/wot-design-uni/components/wd-step/wd-step.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<text v-else>{{ currentTitle }}</text>
2626
</view>
2727
<view v-if="$slots.description || description" class="wd-step__description">
28-
<slot v-if="$slots.description" />
28+
<slot v-if="$slots.description" name="description"/>
2929
<text v-else>{{ description }}</text>
3030
</view>
3131
</view>

0 commit comments

Comments
 (0)