From 4c748eb04d4ac808fb6ebcf2ea66296b8143526d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 15 May 2024 17:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/ArrayTemperatureData/ArrayTemperatureData.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/ArrayTemperatureData/ArrayTemperatureData.html b/ruoyi-admin/src/main/resources/templates/system/ArrayTemperatureData/ArrayTemperatureData.html index 8fc9bba..e05bb77 100644 --- a/ruoyi-admin/src/main/resources/templates/system/ArrayTemperatureData/ArrayTemperatureData.html +++ b/ruoyi-admin/src/main/resources/templates/system/ArrayTemperatureData/ArrayTemperatureData.html @@ -102,7 +102,6 @@ for (let i = 1; i <= 768; i++) { colors.push(getColorByTemperature[e.rows[0]['site' + i]]) } - console.log(colors) const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); @@ -129,7 +128,7 @@ }) } getData() - // setInterval(getData, 1000 * 2) + setInterval(getData, 1000 * 2) })