提交 55c673a7 编写于 作者: D DCloud_LXH

fix(h5): custom-tab-bar visible question/132947

上级 bc6853f6
......@@ -7,8 +7,9 @@
:style="{'flex-direction':direction==='vertical'?'column':'row',backgroundColor:tabBarOptions.backgroundColor}"
class="uni-tabbar"
>
<template v-for="(item,index) in tabBarOptions.list">
<div
v-for="(item,index) in tabBarOptions.list"
v-if="item.visible !== false"
:key="item.pagePath"
class="uni-tabbar__item"
@click="_switchTab(item,index)"
......@@ -44,6 +45,7 @@
</div>
</div>
</div>
</template>
</div>
</uni-tabbar>
</template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册