From 33802d74d2720e86c406f5ca9531ac9435b9ddd2 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 02 八月 2022 09:09:48 +0800
Subject: [PATCH] lct

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

diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index 1408dfa..9714aab 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -21,9 +21,8 @@
 	}),
 	actions: {
 		async setUserInfos(value: any) {
-			debugger
 			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