From 7500f4efbcbb2ec7bef19402c4ef0f1f373348c7 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期二, 02 八月 2022 16:57:09 +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