From 64ce9daf8855edebf8c77b40095a4ea597331cd9 Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期二, 30 八月 2022 11:44:44 +0800 Subject: [PATCH] fix 修正 spring cache 获取在线用户失败问题, 回退为使用 redis 工具缓存 ; --- ruoyi-ui/src/store/modules/permission.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index 6f08c6f..2287665 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -22,12 +22,7 @@ state.defaultRoutes = constantRoutes.concat(routes) }, SET_TOPBAR_ROUTES: (state, routes) => { - // 椤堕儴瀵艰埅鑿滃崟榛樿娣诲姞缁熻鎶ヨ〃鏍忔寚鍚戦椤� - const index = [{ - path: 'index', - meta: { title: '缁熻鎶ヨ〃', icon: 'dashboard' } - }] - state.topbarRouters = routes.concat(index); + state.topbarRouters = routes }, SET_SIDEBAR_ROUTERS: (state, routes) => { state.sidebarRouters = routes -- Gitblit v1.9.3