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