guhongwei hace 4 años
padre
commit
0e7eed6ae5
Se han modificado 2 ficheros con 6 adiciones y 9 borrados
  1. 0 3
      src/layout/common/footInfo.vue
  2. 6 6
      src/router/index.js

+ 0 - 3
src/layout/common/footInfo.vue

@@ -3,9 +3,6 @@
     <el-row>
       <el-col :span="24" class="footInfo">
         <van-tabbar route>
-          <van-tabbar-item to="/">
-            <p class="text">首页</p>
-          </van-tabbar-item>
           <van-tabbar-item to="/live/index">
             <p class="text">直播大厅</p>
           </van-tabbar-item>

+ 6 - 6
src/router/index.js

@@ -6,12 +6,12 @@ Vue.use(VueRouter);
 
 const routes = [
   // 首页
-  {
-    path: '/',
-    name: '',
-    meta: { title: '首页', isleftarrow: false },
-    component: () => import('../views/index.vue'),
-  },
+  // {
+  //   path: '/',
+  //   name: '',
+  //   meta: { title: '首页', isleftarrow: false },
+  //   component: () => import('../views/index.vue'),
+  // },
   // 直播大厅
   {
     path: '/live/index',