RuoYi
2024-03-01 8c990ae9fc5490343b43a2c9738f0455d10076dd
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