RuoYi
2023-11-29 1525bd8b5418a56346715f690b589430a6ca3c4f
ruoyi-ui/src/permission.js
@@ -18,6 +18,8 @@
    if (to.path === '/login') {
      next({ path: '/' })
      NProgress.done()
    } else if (whiteList.indexOf(to.path) !== -1) {
      next()
    } else {
      if (store.getters.roles.length === 0) {
        isRelogin.show = true