From 0e11714f01de9fe1756d6896f67bcd07ff50a148 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 10 Aug 2022 18:34:52 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqt
---
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