@@ -30,7 +30,7 @@ router.beforeEach(async (to, from, next) => {
if (getToken()) {
if (to.path === '/login') {
if (getEnterpriseToken()) next({ path: '/enterprise' }) // 已登录企业
- else next({ path: '/' }) // 已登录个人账号
+ else next({ path: '/recruitHome' }) // 已登录个人账号
} else {
const type = localStorage.getItem('loginType')
// 判断企业路由和个人路由,防止互串