|
@@ -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
|
|
]
|
|
]
|
|
|
|
|