fix:修改解析函数
This commit is contained in:
parent
dae8e5eca7
commit
526e05199f
@ -363,7 +363,7 @@
|
||||
document.getElementById('latest-wind-direction').textContent = data.wind_direction_360;
|
||||
document.getElementById('latest-atm-pressure').textContent = data.atm_pressure.toFixed(1);
|
||||
document.getElementById('latest-solar-radiation').textContent = data.solar_radiation;
|
||||
document.getElementById('latest-rainfall').textContent = data.rainfall;
|
||||
document.getElementById('latest-rainfall').textContent = data.rainfall.toFixed(1);
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('获取最新传感器数据失败:', error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user