modified: static/js/sensor-1.js
This commit is contained in:
parent
2b39fbb0f7
commit
1b06e60007
@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
}
|
||||
|
||||
// 添加新的数据
|
||||
timestamps.push(data.timestamps);
|
||||
timestamps.push(data.timestamp);
|
||||
temperatures.push(data.temperature);
|
||||
|
||||
updateChart();
|
||||
|
Loading…
Reference in New Issue
Block a user