修复 scan_terminal_filters 残留语法错误

This commit is contained in:
2569718930@qq.com
2026-05-25 20:28:27 +08:00
parent 64ab74f7fc
commit 11a901d22e
2 changed files with 1 additions and 2 deletions
@@ -389,7 +389,7 @@ function PolyWeatherTerminal({
const filteredRegionRows = useMemo(() => {
return rows.filter(
(row) => resolveTradingRegionKey(row) === selectedRegionKey,
(row) => getCityRegion(row) === selectedRegionKey,
);
}, [rows, selectedRegionKey]);
-1
View File
@@ -48,7 +48,6 @@ def normalize_scan_terminal_filters(
or "today",
"limit": max(1, min(safe_int(raw.get("limit"), 25), 200)),
"max_spread": max(0.0, _safe_float(raw.get("max_spread")) or 0.03),
in {"1", "true", "yes", "on"},
}
trading_region = str(raw.get("trading_region") or "").strip().lower()
if trading_region and trading_region not in ("all", ""):