1
wwl
2025-03-21 d3f9594061d53d59de8ea6f6b4199a9eed5922c8
src/permission.js
@@ -45,12 +45,13 @@
      // 在免登录白名单,直接进入
      next()
    } else {
      // next(`/login?redirect=${to.fullPath}}`)
      // next(`/login?redirect=${to.fullPath}&hospId=${to.meta.routerType}`) // 否则全部重定向到登录页
      next({
        path:"/login",
        query:{
          redirect:to.fullPath,
          hospId:"xamjyy"
          hospId:""
        }
      })
      NProgress.done()