RuoYi
2024-03-11 b83f2ff60baada9ce1d83bb15f247e14ed1776d6
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