bug修复
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -12,13 +12,18 @@
|
||||
*/
|
||||
export default [
|
||||
{
|
||||
// 原来是 redirect: '/account/center',改为默认渲染第三方过渡页
|
||||
path: '/',
|
||||
redirect: '/account/center',
|
||||
component: './ThirdPartyRedirect',
|
||||
// 不使用全局 layout,避免 layout 中的鉴权/重定向影响该过渡页
|
||||
layout: false,
|
||||
},
|
||||
{
|
||||
path: '*',
|
||||
// 原来是 redirect: '/account/center',改为默认渲染第三方过渡页
|
||||
path: '/login-tow',
|
||||
component: './ThirdPartyRedirect',
|
||||
// 单独允许直接访问第三方过渡页
|
||||
layout: false,
|
||||
component: './404',
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
@@ -162,6 +167,17 @@ export default [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'company',
|
||||
path: '/company',
|
||||
routes: [
|
||||
{
|
||||
name: '企业资质审核详情',
|
||||
path: '/company/qualification-review/detail/:id',
|
||||
component: './Company/QualificationReview/detail',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'jobfair',
|
||||
path: '/jobfair',
|
||||
@@ -183,5 +199,9 @@ export default [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: '*',
|
||||
layout: false,
|
||||
component: './404',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user