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