feat: 新增all选项
This commit is contained in:
parent
bc4af6be86
commit
07b5cb9843
@ -396,9 +396,8 @@
|
|||||||
params.push(`sensor_id=${sensorID}`);
|
params.push(`sensor_id=${sensorID}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (limit && limit !== 'all') {
|
// 始终发送limit参数,即使是'all'
|
||||||
params.push(`limit=${limit}`);
|
params.push(`limit=${limit}`);
|
||||||
}
|
|
||||||
|
|
||||||
if (startDate) {
|
if (startDate) {
|
||||||
params.push(`start_date=${encodeURIComponent(startDate)}`);
|
params.push(`start_date=${encodeURIComponent(startDate)}`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user