feige
2025-05-06 261bb58ad91f703c397c32a089d367ac4170db8c
修改了状态
1个文件已修改
3 ■■■■■ 已修改文件
ruoyi-ui/src/permission.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/permission.js
@@ -18,6 +18,9 @@
    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