From 68ea6443b0d40633a443fedb69bce17d84358eee Mon Sep 17 00:00:00 2001 From: shizhongming Date: Thu, 29 Feb 2024 21:36:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=99=BB=E5=BD=95):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 865ba1d69..95c4c6e43 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -105,6 +105,7 @@ export const useUserStore = defineStore({ this.setRoleList(roles); if (!this.getToken) return null; // get user info + userInfo.realName = userInfo.fullName; this.setUserInfo({ ...userInfo, });