From 46a1dd1ea5898815fa72768cd7808fa43407b107 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 9 Jul 2025 14:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E9=BB=98=E8=AE=A4=E6=9C=AC=E5=B9=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workspace/index.vue | 4 ++++ stats.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/workspace/index.vue b/src/views/workspace/index.vue index 3ba9f5a..4c9f1c6 100644 --- a/src/views/workspace/index.vue +++ b/src/views/workspace/index.vue @@ -391,6 +391,10 @@ const getChartData = async () => { await getMarkets() } + // 本年 + if(!dateRange.value || dateRange.value.length === 0){ + getYear() + } const params = { markets: markets.value, diff --git a/stats.html b/stats.html index ec76960..6b3fdd4 100644 --- a/stats.html +++ b/stats.html @@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {