modified: static/js/sensor-1.js
This commit is contained in:
parent
12e8ee568d
commit
763a9a1da6
@ -50,5 +50,5 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
fetchInitialData();
|
fetchInitialData();
|
||||||
|
|
||||||
// 每5秒获取最新的数据
|
// 每5秒获取最新的数据
|
||||||
setInterval(fetchLatestData, 1000);
|
setInterval(fetchLatestData, 5000);
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user