RuoYi
2023-11-28 e6d0599b256866fc9fb0b06c1abbee50725d2d2c
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