From 0e46f09779118bd7653a7e5b8d64a7d3ba7e744b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 6 Jun 2026 23:40:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(mall):=20=E4=BF=AE=E5=A4=8D=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E8=B4=A6=E6=88=B7=E5=85=85=E5=80=BC=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 首页运营数据的账户充值金额从分转换为元后展示 - 同步修复 Vue3 与 Vben 的 antd、ele、antdv-next 三端 --- src/views/mall/home/components/OperationDataCard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/mall/home/components/OperationDataCard.vue b/src/views/mall/home/components/OperationDataCard.vue index 1a1ffb9d4..e291129a4 100644 --- a/src/views/mall/home/components/OperationDataCard.vue +++ b/src/views/mall/home/components/OperationDataCard.vue @@ -26,6 +26,7 @@ import * as ProductSpuApi from '@/api/mall/product/spu' import * as TradeStatisticsApi from '@/api/mall/statistics/trade' import * as PayStatisticsApi from '@/api/mall/statistics/pay' import { CardTitle } from '@/components/Card' +import { fenToYuan } from '@/utils' /** 运营数据卡片 */ defineOptions({ name: 'OperationDataCard' }) @@ -78,7 +79,7 @@ const getProductData = async () => { /** 查询钱包充值数据 */ const getWalletRechargeData = async () => { const paySummary = await PayStatisticsApi.getWalletRechargePrice() - data.rechargePrice.value = paySummary.rechargePrice + data.rechargePrice.value = Number(fenToYuan(paySummary.rechargePrice || 0)) } /**