feat: implement PolyWeather dashboard core components, state management, and API integration

This commit is contained in:
2569718930@qq.com
2026-04-23 19:40:38 +08:00
parent 73eeb11b88
commit 4f57d4ed1a
6 changed files with 296 additions and 129 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ function isPublicApi(pathname: string) {
pathname === "/api/cities" ||
pathname === "/api/vitals" ||
/^\/api\/city\/[^/]+$/i.test(pathname) ||
/^\/api\/city\/[^/]+\/summary$/i.test(pathname)
/^\/api\/city\/[^/]+\/summary$/i.test(pathname) ||
/^\/api\/city\/[^/]+\/market-scan$/i.test(pathname)
);
}