From aa29f1cec531cd394618b06a0e99ef253a91a8fa Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 27 三月 2023 11:44:43 +0800 Subject: [PATCH] !312 统一注入变量命名规则 Merge pull request !312 from Yjoioooo/5.X --- 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