ソースを参照

删掉无用代码

lifanagju_citu 11 ヶ月 前
コミット
ba816fa9f8
1 ファイル変更5 行追加20 行削除
  1. 5 20
      src/router/modules/remaining.js

+ 5 - 20
src/router/modules/remaining.js

@@ -21,8 +21,7 @@ const remainingRouter = [
     name: 'login',
     name: 'login',
     meta: {
     meta: {
       hidden: true,
       hidden: true,
-      title: '登录/注册',
-      loginType: 'noLogin'
+      title: '登录/注册'
     }
     }
   },
   },
   {
   {
@@ -34,8 +33,7 @@ const remainingRouter = [
         path: '/userAgreement',
         path: '/userAgreement',
         component: () => import('@/views/login/components/userAgreement.vue'),
         component: () => import('@/views/login/components/userAgreement.vue'),
         meta: {
         meta: {
-          title: '用户协议',
-          loginType: 'noLogin'
+          title: '用户协议'
         }
         }
       }
       }
     ]
     ]
@@ -49,8 +47,7 @@ const remainingRouter = [
         path: '/privacyPolicy',
         path: '/privacyPolicy',
         component: () => import('@/views/login/components/privacyPolicy.vue'),
         component: () => import('@/views/login/components/privacyPolicy.vue'),
         meta: {
         meta: {
-          title: '隐私政策',
-          loginType: 'noLogin'
+          title: '隐私政策'
         }
         }
       }
       }
     ]
     ]
@@ -64,30 +61,18 @@ const remainingRouter = [
         path: '/personal',
         path: '/personal',
         redirect: '/home',
         redirect: '/home',
         meta: {
         meta: {
-          title: '首页',
-          loginType: 'noLogin'
+          title: '首页'
         }
         }
       },
       },
       {
       {
         path: '/home',
         path: '/home',
         component: () => import('@/views/Home/index'),
         component: () => import('@/views/Home/index'),
         meta: {
         meta: {
-          title: '首页',
-          loginType: 'noLogin'
+          title: '首页'
         }
         }
       }
       }
     ]
     ]
   },
   },
-  // {
-  //   path: '/register',
-  //   component: () => import('@/views/enterprise/components/register'),
-  //   name: 'register',
-  //   meta: {
-  //     hidden: true,
-  //     title: '注册企业',
-  //     loginType: 'noLogin'
-  //   }
-  // },
   ...routeArray
   ...routeArray
 ]
 ]