From b76a9d23e644a55bf29619f7cb261d72bf92ba6e Mon Sep 17 00:00:00 2001 From: IrisVega Date: Sat, 20 Jul 2024 17:28:15 +0800 Subject: [PATCH] modified: static/js/sensor-1.js --- static/js/sensor-1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/sensor-1.js b/static/js/sensor-1.js index 4304bad..1aa31ef 100644 --- a/static/js/sensor-1.js +++ b/static/js/sensor-1.js @@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', function () { } // 添加新的数据 - timestamps.push(data.timestamp); + timestamps.push(data.timestamps); temperatures.push(data.temperature); updateChart();