feat:增加 user 的 email、username 的展示

This commit is contained in:
YunaiV
2025-04-19 19:45:35 +08:00
parent 880aa37675
commit 1662598488
2 changed files with 7 additions and 4 deletions

View File

@@ -125,13 +125,12 @@ watch(
<template>
<BasicLayout @clear-preferences-and-logout="handleLogout">
<template #user-dropdown>
<!-- TODO @芋艿去掉 ann.vben@gmail.com -->
<UserDropdown
:avatar
:menus
:text="userStore.userInfo?.nickname"
description="ann.vben@gmail.com"
tag-text="Pro"
:description="userStore.userInfo?.email"
:tag-text="userStore.userInfo?.username"
@logout="handleLogout"
/>
</template>