巴黎 AROME 仅在 AEROWEB 为主源时作对比展示,避免与当前温度重复

This commit is contained in:
2569718930@qq.com
2026-05-25 21:38:10 +08:00
parent b8b99a0fc5
commit 5202ed06ff
3 changed files with 28 additions and 16 deletions
@@ -914,6 +914,10 @@ export function LiveTemperatureThresholdChart({
// Always default all model curves to hidden across all cities and timeframes
series.forEach((s) => {
if (s.key.startsWith("model_curve_")) {
// Keep AROME HD visible by default on Paris chart
if (city === "paris" && s.key === "model_curve_AROME HD") {
return;
}
defaults.add(s.key);
}
});