From 4ab7dbfc97e422fb6192f0218adc0bec66f4705f Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 14 十月 2025 13:52:38 +0800
Subject: [PATCH] 修改新增
---
src/store/modules/user.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 1a4d328..80d0735 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -47,8 +47,8 @@
} else {
this.roles = ['ROLE_DEFAULT']
}
- this.id = user.userId
- this.name = user.userName
+ this.id = user.id
+ this.name = user.name
this.companyId = user.companyId
this.companyName = user.companyName
this.avatar = avatar
--
Gitblit v1.9.2