From 71779b645677906fb81c18d2e6ad3a3b56012b68 Mon Sep 17 00:00:00 2001 From: lihui Date: Tue, 22 Jul 2025 11:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=B4=A6=E6=88=B7=E6=98=8E?= =?UTF-8?q?=E7=BB=86=20=E9=87=91=E5=B8=81=E6=80=BB=E6=95=B0=E7=AD=89=20?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=20=E4=B8=BA=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/usergold/clientCountBalance.vue | 44 ++++++++++++++++++++++--------- src/views/usergold/clientCountDetail.vue | 16 +++++------ 2 files changed, 39 insertions(+), 21 deletions(-) diff --git a/src/views/usergold/clientCountBalance.vue b/src/views/usergold/clientCountBalance.vue index 05e657b..3c78b29 100644 --- a/src/views/usergold/clientCountBalance.vue +++ b/src/views/usergold/clientCountBalance.vue @@ -368,10 +368,10 @@ const handleMarketChange = (val) => {
- 金币总数:{{ Math.abs(goldtotal) / 100 }} - 永久金币:{{ Math.abs(permanentGold) / 100 }} - 免费金币:{{ Math.abs(freeGold) / 100 }} - 任务金币:{{ Math.abs(taskGold) / 100 }} + 金币总数:{{ (goldtotal || 0) / 100 }} + 永久金币:{{(permanentGold || 0) / 100 }} + 免费金币:{{ (freeGold || 0) / 100 }} + 任务金币:{{ (taskGold || 0) / 100 }}
@@ -390,31 +390,31 @@ const handleMarketChange = (val) => { @@ -442,8 +442,26 @@ const handleMarketChange = (val) => { +
diff --git a/src/views/usergold/clientCountDetail.vue b/src/views/usergold/clientCountDetail.vue index 1b54293..ee6b37d 100644 --- a/src/views/usergold/clientCountDetail.vue +++ b/src/views/usergold/clientCountDetail.vue @@ -537,10 +537,10 @@ const handleMarketChange = (val) => {
- 金币总数:{{ (totalGoldTotal) / 100 }} - 永久金币:{{ (totalPermanentGold) / 100 }} - 免费金币:{{ (totalFreeGold) / 100 }} - 任务金币:{{ (totalTaskGold) / 100 }} + 金币总数:{{ (totalGoldTotal || 0) / 100 }} + 永久金币:{{ (totalPermanentGold || 0) / 100 }} + 免费金币:{{ (totalFreeGold || 0) / 100 }} + 任务金币:{{ (totalTaskGold || 0) / 100 }}
@@ -577,23 +577,23 @@ const handleMarketChange = (val) => { : scope.row.sumGold / 100 }} --> - {{ scope.row.sumGold / 100 }} + {{ (scope.row.sumGold || 0) / 100 }}