From 78def7be2cae0fc4839eba7f4293e46c14a38b39 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 10 Jul 2023 12:36:38 +0800 Subject: [PATCH] fix --- src/layouts/components/UserProfile.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layouts/components/UserProfile.vue b/src/layouts/components/UserProfile.vue index 5684aa9b..117216cf 100644 --- a/src/layouts/components/UserProfile.vue +++ b/src/layouts/components/UserProfile.vue @@ -43,7 +43,6 @@ const logout = () => { onMounted(() => { loadAccountInfo(); }); - - 管理员 + + {{ accountInfo.is_superuser ? "管理员" : "普通用户" }} + {{ accountInfo.name }}