From e9188115fc35f657d2e4901395a811e01d3baa8e Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 29 Apr 2024 18:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=9B=9E=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7real=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index c6b8a39a..cb033368 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -161,7 +161,7 @@ const actions = { commit('SET_PERMISSIONS', JSON.parse(zzSessionStorage.getItem('permissions'))) commit('SET_ISTESTUSER', zzSessionStorage.getItem('isTestUser')) const user = JSON.parse(userString) - commit('SET_NAME', zzSessionStorage.getItem('realName')) + commit('SET_NAME', user.realName) commit('SET_USERID', user.id) commit('SET_USERNAME', zzSessionStorage.getItem('userName')) commit('SET_NEED_SIGN_SYSTEM_DOC_COUNT', parseInt(zzSessionStorage.getItem('TotalNeedSignSystemDocCount')))