Skip to content

Commit 91bf0ec

Browse files
authored
Update u-tabbar.vue
修复因为更新导致的tabbar报错
1 parent 4168a71 commit 91bf0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uview-ui/components/u-tabbar/u-tabbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
:custom-prefix="item.customIcon ? 'custom-icon' : 'uicon'"
2323
></u-icon>
2424
<u-badge :count="item.count" :is-dot="item.isDot"
25-
v-if="item.count > 0"
25+
v-if="item.count"
2626
:offset="[-2, getOffsetRight(item.count, item.isDot)]"
2727
></u-badge>
2828
</view>

0 commit comments

Comments
 (0)