From 07b5cb9843126b6e269222b5a704d400ea1c064a Mon Sep 17 00:00:00 2001 From: fengyarnom Date: Sun, 18 May 2025 14:17:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Eall=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index 5bf2e24..c2186fa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -396,9 +396,8 @@ params.push(`sensor_id=${sensorID}`); } - if (limit && limit !== 'all') { - params.push(`limit=${limit}`); - } + // 始终发送limit参数,即使是'all' + params.push(`limit=${limit}`); if (startDate) { params.push(`start_date=${encodeURIComponent(startDate)}`);