From d441b398b47a7ed37ea6faabf99db3a2a91de3fe Mon Sep 17 00:00:00 2001 From: guoapeng Date: Tue, 15 Jul 2025 16:48:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9B=BE=E8=A1=A8Y=E8=BD=B4=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/chart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/chart.vue b/src/views/home/chart.vue index e59f71f..b0cf3ea 100644 --- a/src/views/home/chart.vue +++ b/src/views/home/chart.vue @@ -213,14 +213,14 @@ const formatSeconds = (seconds: number) => { v-loading="chartLoading" element-loading-background="rgba(255, 255, 255, 0.1)" class="line-chart-content" - :style="{ 'grid-template-columns': `repeat(${Math.max(chartList.length, 2)},1fr)` }" + :style="{ 'grid-template-columns': `repeat(${Math.min(chartList.length, 2)},1fr)` }" >