From a34edef603d62624b790bb91407a92e3a0d175b4 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Wed, 29 Apr 2020 15:02:17 +0800 Subject: [PATCH] =?UTF-8?q?vuex=E7=94=A8=E6=88=B7=E5=90=8D=E5=8F=96?= =?UTF-8?q?=E5=80=BC=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/store/modules/user.js b/ruoyi-ui/src/store/modules/user.js index 20f44bf46..dd2b6dbef 100644 --- a/ruoyi-ui/src/store/modules/user.js +++ b/ruoyi-ui/src/store/modules/user.js @@ -58,7 +58,7 @@ const user = { } else { commit('SET_ROLES', ['ROLE_DEFAULT']) } - commit('SET_NAME', user.username) + commit('SET_NAME', user.userName) commit('SET_AVATAR', avatar) resolve(res) }).catch(error => {