From 59da8ccf452d13ebb007739c67f45cc5e2ed1972 Mon Sep 17 00:00:00 2001
From: batman <978517621@qq.com>
Date: Mon, 13 Mar 2023 13:03:49 +0800
Subject: [PATCH] 用户管理修改展示
---
src/stores/userInfo.ts | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index 3783ffa..edbe1ed 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -15,15 +15,18 @@
roles: [],
authBtnList: [],
uid: '',
+ depId: null,
projectId: '',
dataList: []
}
}),
+ persist:true,
actions: {
async setUserInfos(value: any) {
this.userInfos.userName = value.realName;
this.userInfos.uid = value.uid;
this.userInfos.roles = value.role;
+ this.userInfos.depId = value.depId
// const userName = Cookies.get('userName');
// // 模拟数据
// let defaultRoles: Array<string> = [];
--
Gitblit v1.9.2