diff --git a/backend/dvadmin/system/views/user.py b/backend/dvadmin/system/views/user.py
index 9592c41..151f05c 100644
--- a/backend/dvadmin/system/views/user.py
+++ b/backend/dvadmin/system/views/user.py
@@ -308,6 +308,7 @@ class UserViewSet(CustomModelViewSet):
user = request.user
result = {
"id": user.id,
+ "username": user.username,
"name": user.name,
"mobile": user.mobile,
"user_type": user.user_type,
diff --git a/web/src/layout/header-aside/components/header-user/userinfo.vue b/web/src/layout/header-aside/components/header-user/userinfo.vue
index eb5a53d..b46522e 100644
--- a/web/src/layout/header-aside/components/header-user/userinfo.vue
+++ b/web/src/layout/header-aside/components/header-user/userinfo.vue
@@ -19,22 +19,9 @@
-
+
-
-
-
-
-
-
-
-
-
@@ -45,6 +32,22 @@
未知
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66,6 +69,7 @@
ref="userPasswordForm"
:model="userPasswordInfo"
required-asterisk
+ label-width="100px"
:label-position="position"
:rules="passwordRules"
center
@@ -73,6 +77,7 @@
@@ -80,6 +85,7 @@
@@ -87,6 +93,7 @@