Explorar el Código

首页职位广告跳转登录页

Xiao_123 hace 5 meses
padre
commit
0bf3a6a0ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/permission.js

+ 1 - 1
src/permission.js

@@ -48,7 +48,7 @@ router.beforeEach(async (to, from, next) => {
         }
       }
     }
-    if (to.path === '/login') {
+    if (to.fullPath === '/login') {
       next({ path: '/recruitHome' })
     }
     // 获取字典信息