modified: static/js/sensor-1.js
This commit is contained in:
parent
1b06e60007
commit
b76a9d23e6
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user