zhouwenxuan
2023-12-07 e220a11760bb56f12da82a18e0b441dfdc588fac
src/permission.js
@@ -52,7 +52,8 @@
      // 在免登录白名单,直接进入
      next()
    } else {
      next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页
      // next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页
      next('/homePage')
      NProgress.done()
    }
  }