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)}`);