Browse Source

已登录个人账号

lifanagju_citu 10 months ago
parent
commit
ec70af7b40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/permission.js

+ 1 - 1
src/permission.js

@@ -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')
       // 判断企业路由和个人路由,防止互串