From 2d8d32376703162daacb7c47841ebffd1263cb99 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 26 Aug 2023 20:57:22 +0800 Subject: [PATCH] =?UTF-8?q?code=20review=EF=BC=9A=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/member/user/index.ts | 1 + src/views/member/user/detail/UserAccountInfo.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/member/user/index.ts b/src/api/member/user/index.ts index 0a2e435d..4d60988c 100644 --- a/src/api/member/user/index.ts +++ b/src/api/member/user/index.ts @@ -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 } diff --git a/src/views/member/user/detail/UserAccountInfo.vue b/src/views/member/user/detail/UserAccountInfo.vue index 4be9dab5..6e847d06 100644 --- a/src/views/member/user/detail/UserAccountInfo.vue +++ b/src/views/member/user/detail/UserAccountInfo.vue @@ -4,7 +4,7 @@ - {{ user.levelName || 0 }} + {{ user.levelName || '无' }}