code review:会员中心

This commit is contained in:
YunaiV 2023-08-26 20:57:22 +08:00
parent a4841accc2
commit 2d8d323767
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ export interface UserVO {
areaName: string | undefined
levelName: string | null
point: number | undefined | null
totalPoint: number | undefined | null
experience: number | null | undefined
}

View File

@ -4,7 +4,7 @@
<template #label>
<descriptions-item-label label=" 等级 " icon="svg-icon:member_level" />
</template>
{{ user.levelName || 0 }}
{{ user.levelName || '无' }}
</el-descriptions-item>
<el-descriptions-item>
<template #label>
@ -22,8 +22,9 @@
<template #label>
<descriptions-item-label label=" 总积分 " icon="ep:coin" />
</template>
{{ 0 }}
{{ user.totalPoint || 0 }}
</el-descriptions-item>
<!-- TODO 芋艿后续接入余额支付金额 -->
<el-descriptions-item>
<template #label>
<descriptions-item-label label=" 当前余额 " icon="svg-icon:member_balance" />