From e3d63f84a43db07fa5992de2937ee23fc67bad38 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Fri, 06 Jan 2023 16:43:58 +0800
Subject: [PATCH] 物资
---
src/stores/userInfo.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index 425b01d..edbe1ed 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -15,6 +15,7 @@
roles: [],
authBtnList: [],
uid: '',
+ depId: null,
projectId: '',
dataList: []
}
@@ -25,6 +26,7 @@
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