From 41b20b89eb03e1a7e52e7e31ce3fd3f240f67c46 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期一, 04 七月 2022 11:17:21 +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 f04e50b..9714aab 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -22,7 +22,7 @@
 	actions: {
 		async setUserInfos(value: any) {
 			this.userInfos.userName = value.username
-			this.userInfos.uid = value.id
+			this.userInfos.uid = value.uid
 			this.userInfos.roles = value.role
 			// const userName = Cookies.get('userName');
 			// // 模拟数据

--
Gitblit v1.9.2