RuoYi
2023-12-07 0f7e3a744e1f597c76a143103dac7d665615bbbc
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