modified: static/js/sensor-1.js

This commit is contained in:
IrisVega 2024-07-20 17:28:15 +08:00
parent 1b06e60007
commit b76a9d23e6
1 changed files with 1 additions and 1 deletions

View File

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