Skip to content

Commit

Permalink
fix(Tabbar): 开启路由模式
Browse files Browse the repository at this point in the history
  • Loading branch information
yulimchen committed Mar 8, 2021
1 parent 35fbbea commit 1e61c5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Tabbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
v-model="active"
fixed
:placeholder="true"
:route="true"
>
<van-tabbar-item
v-for="(item, index) in tabbarData"
:key="index"
:icon="item.icon"
:to="item.to.name"
:to="item.to"
>
{{ item.title }}
</van-tabbar-item>
Expand Down

0 comments on commit 1e61c5a

Please sign in to comment.