feat:新增下雨概率预测
This commit is contained in:
parent
4acb2b62ca
commit
85cca73799
@ -496,6 +496,7 @@
|
||||
<th>风速 (m/s)</th>
|
||||
<th>风向 (°)</th>
|
||||
<th>雨量 (mm)</th>
|
||||
<th>降水概率 (%)</th>
|
||||
<th>光照 (lux)</th>
|
||||
<th>紫外线</th>
|
||||
</tr>
|
||||
@ -1467,6 +1468,7 @@
|
||||
<td>${item.wind_speed !== null && item.wind_speed !== undefined ? item.wind_speed.toFixed(2) : '-'}</td>
|
||||
<td>${item.wind_direction !== null && item.wind_direction !== undefined ? item.wind_direction.toFixed(2) : '-'}</td>
|
||||
<td>${item.rainfall !== null && item.rainfall !== undefined ? item.rainfall.toFixed(3) : '-'}</td>
|
||||
<td>${item.source === '预报' && item.precip_prob !== null && item.precip_prob !== undefined ? item.precip_prob : '-'}</td>
|
||||
<td>${item.light !== null && item.light !== undefined ? item.light.toFixed(2) : '-'}</td>
|
||||
<td>${item.uv !== null && item.uv !== undefined ? item.uv.toFixed(2) : '-'}</td>
|
||||
`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user