Explorar o código

公共页面无需登录

lifanagju_citu hai 2 meses
pai
achega
a622652a83
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/permission.js

+ 1 - 0
src/permission.js

@@ -145,6 +145,7 @@ router.beforeEach(async (to, from, next) => {
     next()
     return
   }
+
   next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
 })