diff --git a/ui/src/layout/layout-header/avatar/ResetPassword.vue b/ui/src/layout/layout-header/avatar/ResetPassword.vue index e3fab98a3..787cedcff 100644 --- a/ui/src/layout/layout-header/avatar/ResetPassword.vue +++ b/ui/src/layout/layout-header/avatar/ResetPassword.vue @@ -83,23 +83,23 @@ diff --git a/ui/src/layout/layout-header/avatar/index.vue b/ui/src/layout/layout-header/avatar/index.vue index f89a3c08b..3cba3fd77 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,19 +15,16 @@ - + {{ user.userInfo?.username }} - + {{ user.userInfo?.role[0] }} +{{ user.userInfo?.role?.length - 1 }} - + >+{{ user.userInfo?.role?.length - 1 }} + @@ -44,7 +41,7 @@ {{ $t('layout.language') }} - + @@ -58,14 +55,14 @@ class="flex-between" > {{ - lang.label - }} + lang.label + }} - + @@ -89,24 +86,24 @@ - +
{{ user.userInfo?.username }}