qx
qx
6 天以前 a4d79237c73a1db49649a8d3108eec95a8e67c37
src/permission.js
@@ -45,12 +45,12 @@
      // 在免登录白名单,直接进入
      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"
        }
      })
      NProgress.done()