소스 검색

老师登录地址

Xiao_123 1 개월 전
부모
커밋
ee115b38ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/permission.js

+ 1 - 1
src/permission.js

@@ -27,7 +27,7 @@ router.beforeEach(async (to, from, next) => {
   const isTeacherRoute = to.path.includes(TEACHER_PATH)
   const schoolInfo = localStorage.getItem('schoolInfo')
   if (isTeacherRoute && !schoolInfo) {
-    next(`/login?redirect=${to.fullPath}`)
+    next(`/flameLogin?redirect=${to.fullPath}`)
   }
   
   if (to.path === '/enterpriseVerification') {