From 89079cd6f458c06b014d2609dcded95600be30a9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 16 五月 2026 14:18:44 +0800
Subject: [PATCH] 浪潮——客户 1.样式修改
---
src/store/modules/user.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index ea358d1..e395463 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -56,15 +56,17 @@
} else {
this.roles = ['ROLE_DEFAULT']
}
- this.id = user.userId
- this.name = user.userName
- this.avatar = avatar
+ this.id = user.userId
+ this.name = user.userName
+ this.avatar = avatar
this.currentFactoryName = user.currentFactoryName
this.nickName = user.nickName
this.roleName = user.roles[0].roleName
this.currentDeptId = user.tenantId
this.currentLoginTime = this.getCurrentTime()
this.aiEnabled = Number(res.aiEnabled) === 1 ? 1 : 0
+ this.phonenumber = user.phonenumber
+ this.remark = user.remark
resolve(res)
}).catch(error => {
reject(error)
--
Gitblit v1.9.3