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 }}