From a1dd32e5db9e352f63ffa0ba76fe3775e3103363 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 26 八月 2022 09:58:48 +0800
Subject: [PATCH] 图标

---
 src/stores/userInfo.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index be7e8c0..3783ffa 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -21,7 +21,7 @@
     }),
     actions: {
         async setUserInfos(value: any) {
-            this.userInfos.userName = value.username;
+            this.userInfos.userName = value.realName;
             this.userInfos.uid = value.uid;
             this.userInfos.roles = value.role;
             // const userName = Cookies.get('userName');

--
Gitblit v1.9.2