From 70c0bc7a7da9630ec94944d5ec7ebcc80c5a59c3 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期四, 21 七月 2022 11:00:50 +0800
Subject: [PATCH] 应急

---
 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