fix: 修复用户中心类型检查报错
- profile 页面使用 BasicUserInfo 的标准字段 nickname/loginName - 移除 use-echarts 未使用参数与类型,消除 TS6133
This commit is contained in:
@@ -34,10 +34,10 @@ const tabsValue = defineModel<string>('modelValue');
|
||||
class="size-20"
|
||||
/>
|
||||
<span class="text-lg font-semibold">
|
||||
{{ userInfo?.realName ?? '' }}
|
||||
{{ userInfo?.nickname ?? '' }}
|
||||
</span>
|
||||
<span class="text-foreground/80 text-sm">
|
||||
{{ userInfo?.username ?? '' }}
|
||||
{{ userInfo?.loginName ?? '' }}
|
||||
</span>
|
||||
</div>
|
||||
<Separator class="my-4" />
|
||||
|
||||
Reference in New Issue
Block a user