Unverified Commit 91bf0ec2 authored by TtTao's avatar TtTao Committed by GitHub

Update u-tabbar.vue

修复因为更新导致的tabbar报错
parent 4168a710
......@@ -22,7 +22,7 @@
:custom-prefix="item.customIcon ? 'custom-icon' : 'uicon'"
></u-icon>
<u-badge :count="item.count" :is-dot="item.isDot"
v-if="item.count > 0"
v-if="item.count"
:offset="[-2, getOffsetRight(item.count, item.isDot)]"
></u-badge>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment