modified: static/js/sensor-1.js

This commit is contained in:
IrisVega 2024-07-20 17:27:27 +08:00
parent 2b39fbb0f7
commit 1b06e60007

View File

@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
// 添加新的数据
timestamps.push(data.timestamps);
timestamps.push(data.timestamp);
temperatures.push(data.temperature);
updateChart();