From 61c9a9b2d21d64c1e2bc910a2f9e1ac0c017bddd Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Sat, 23 Jul 2022 17:58:48 +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