|
@@ -1,7 +1,6 @@
|
|
|
import common from './common'
|
|
|
import recruit from './recruit'
|
|
|
import Layout from '@/layout'
|
|
|
-import headhunting from './components/headhunting'
|
|
|
import { setLoginType } from '@/utils/loginType'
|
|
|
|
|
|
|
|
@@ -44,13 +43,11 @@ const remainingRouter = [
|
|
|
]
|
|
|
},
|
|
|
]
|
|
|
-setLoginType(remainingRouter, 'noLogin')
|
|
|
-setLoginType(headhunting, 'noLogin')
|
|
|
+setLoginType(remainingRouter, 'noLogin') // 登录企业端不能noLogin路由
|
|
|
setLoginType(common, 'common')
|
|
|
const routeArray = [
|
|
|
...remainingRouter,
|
|
|
...recruit,
|
|
|
- ...headhunting,
|
|
|
...common
|
|
|
]
|
|
|
|