From 85cca737999830231fd629d639e33f19a284ac9d Mon Sep 17 00:00:00 2001 From: yarnom Date: Fri, 22 Aug 2025 16:05:16 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E4=B8=8B?= =?UTF-8?q?=E9=9B=A8=E6=A6=82=E7=8E=87=E9=A2=84=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index.html b/templates/index.html index 661b0cc..07dbc0a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -496,6 +496,7 @@ 风速 (m/s) 风向 (°) 雨量 (mm) + 降水概率 (%) 光照 (lux) 紫外线 @@ -1467,6 +1468,7 @@ ${item.wind_speed !== null && item.wind_speed !== undefined ? item.wind_speed.toFixed(2) : '-'} ${item.wind_direction !== null && item.wind_direction !== undefined ? item.wind_direction.toFixed(2) : '-'} ${item.rainfall !== null && item.rainfall !== undefined ? item.rainfall.toFixed(3) : '-'} + ${item.source === '预报' && item.precip_prob !== null && item.precip_prob !== undefined ? item.precip_prob : '-'} ${item.light !== null && item.light !== undefined ? item.light.toFixed(2) : '-'} ${item.uv !== null && item.uv !== undefined ? item.uv.toFixed(2) : '-'} `;