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) })