Explorar el Código

底部空间适配

wyling hace 3 años
padre
commit
1f749b2c5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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">