소스 검색

已登录个人账号

lifanagju_citu 10 달 전
부모
커밋
ec70af7b40
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')
       // 判断企业路由和个人路由,防止互串