From 40e7540c6b6dee52a6795b345608a87de32cf8d8 Mon Sep 17 00:00:00 2001 From: lihuibear Date: Wed, 22 Oct 2025 16:08:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:bug=20=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/workspace/CashManagement.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index dbeace5..c54d9de 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -44,7 +44,7 @@
代收{{ item.name }}: {{ item.value.toLocaleString() }} - +
@@ -100,6 +100,7 @@ const startDate = `${currentYear}-01-01 00:00:00`; const endDate = `${currentYear}-12-31 23:59:59`; // 获取接口数据 const fetchCashData = async () => { + getAdminData() try { const res = await request({ url: '/workbench/getTotalRevenue', @@ -131,7 +132,7 @@ const fetchCashData = async () => { name: m.name, value: resMap.get(m.name) ?? 0 })) - } else { + } else if (marksFlag.value=== false) { // 1. 定义币种中英文对照表 const currencyMap = { sgd: '新币', @@ -227,7 +228,7 @@ const renderChart = () => { } onMounted(() => { - getAdminData() + // getAdminData() fetchCashData() })