From d1b1f06fc4843b17d669742645c396c16edab66a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 11 三月 2023 23:40:58 +0800 Subject: [PATCH] fix 修复 超管切换租户后 点击个人中心报错 --- ruoyi-ui/src/store/getters.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/store/getters.js b/ruoyi-ui/src/store/getters.js index da6ab39..8cf5b32 100644 --- a/ruoyi-ui/src/store/getters.js +++ b/ruoyi-ui/src/store/getters.js @@ -2,10 +2,12 @@ sidebar: state => state.app.sidebar, size: state => state.app.size, device: state => state.app.device, + dict: state => state.dict.dict, visitedViews: state => state.tagsView.visitedViews, cachedViews: state => state.tagsView.cachedViews, token: state => state.user.token, avatar: state => state.user.avatar, + userId: state => state.user.userId, name: state => state.user.name, introduction: state => state.user.introduction, roles: state => state.user.roles, -- Gitblit v1.9.3