From 4af876f6a89fba12dacda21dcc1bfaec5abef9b7 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Fri, 20 Jun 2025 10:17:09 +0800 Subject: [PATCH] fix: permission (#3325) --- ui/src/layout/layout-header/avatar/index.vue | 37 +++++++++++--------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/ui/src/layout/layout-header/avatar/index.vue b/ui/src/layout/layout-header/avatar/index.vue index b3e36e5da..28e69701b 100644 --- a/ui/src/layout/layout-header/avatar/index.vue +++ b/ui/src/layout/layout-header/avatar/index.vue @@ -2,11 +2,11 @@
- + {{ user.userInfo?.username }} - +
@@ -15,7 +15,7 @@
- +
@@ -23,7 +23,7 @@
@@ -31,7 +31,11 @@ {{ $t('views.login.resetPassword') }} -
+
{{ $t('layout.apiKey') }} @@ -41,7 +45,7 @@
{{ $t('layout.language') }} - +
@@ -55,14 +59,14 @@ class="flex-between" > {{ - lang.label - }} + lang.label + }} - + @@ -86,24 +90,25 @@ - +