|
@@ -124,6 +124,18 @@ const remainingRouter = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: '/404',
|
|
|
|
+ name: '404Page',
|
|
|
|
+ component: () => import('@/views/404/index.vue'),
|
|
|
|
+ meta: {
|
|
|
|
+ title: '404'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/:catchAll(.*)',
|
|
|
|
+ redirect: '/404'
|
|
|
|
+ }
|
|
]
|
|
]
|
|
setLoginType(remainingRouter, 'personalCommon') // 暂定:登录企业端不能访问personalCommon路由
|
|
setLoginType(remainingRouter, 'personalCommon') // 暂定:登录企业端不能访问personalCommon路由
|
|
setLoginType(common, 'common') // common 没有身份,任何情况都能访问
|
|
setLoginType(common, 'common') // common 没有身份,任何情况都能访问
|