国内版本
This commit is contained in:
parent
2cc18a7079
commit
0f7647fdbc
|
|
@ -37,12 +37,13 @@
|
|||
<el-avatar :size="32" :src="currentUser.avatarUrl">
|
||||
<UserIcon />
|
||||
</el-avatar>
|
||||
<div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div>
|
||||
<!-- <div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div> -->
|
||||
<div class="role-badge" :class="userRole">{{ currentUser.nickname }}</div>
|
||||
</div>
|
||||
<div class="user-points">
|
||||
<!-- <div class="user-points">
|
||||
<span class="points-icon">🪄</span>
|
||||
<span class="points-text">{{ remainingPoints }}</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- 用户信息模块已取消 -->
|
||||
</div>
|
||||
|
||||
|
|
@ -52,7 +53,7 @@
|
|||
<el-avatar :size="32" :src="currentUser.avatarUrl">
|
||||
<UserIcon />
|
||||
</el-avatar>
|
||||
<div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div>
|
||||
<!-- <div class="role-badge" :class="userRole">{{ getRoleDisplayName(currentUser.user_role) }}</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -148,13 +149,13 @@ const coreMenuItems = computed(() => [
|
|||
icon: 'OrdersIcon',
|
||||
badge: null
|
||||
},
|
||||
{
|
||||
id: 'user-center',
|
||||
path: '/user-center',
|
||||
label: t('sidebar.userCenter'),
|
||||
icon: 'UserIcon',
|
||||
badge: null
|
||||
},
|
||||
// {
|
||||
// id: 'user-center',
|
||||
// path: '/user-center',
|
||||
// label: t('sidebar.userCenter'),
|
||||
// icon: 'UserIcon',
|
||||
// badge: null
|
||||
// },
|
||||
])
|
||||
|
||||
// 判断当前路由是否激活
|
||||
|
|
|
|||
Loading…
Reference in New Issue