ソースを参照

底部空间适配

wyling 3 年 前
コミット
1f749b2c5b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/home/index.vue

+ 1 - 1
src/views/home/index.vue

@@ -1,6 +1,6 @@
 <template>
   <router-view></router-view>
-  <van-tabbar safe-area-inset-bottom route>
+  <van-tabbar fixed :safe-area-inset-bottom="true" route>
     <van-tabbar-item to="/home/test" icon="home-o"
       >驾考
       <template #icon="props">