feat: implement dashboard store and API routes for city market scanning and analysis

This commit is contained in:
2569718930@qq.com
2026-04-24 12:46:44 +08:00
parent c61a3f500d
commit 467f736602
8 changed files with 723 additions and 41 deletions
+2 -1
View File
@@ -626,7 +626,8 @@ export function DashboardStoreProvider({
lite: options?.lite === true,
marketSlug: options?.marketSlug || null,
targetDate:
options?.targetDate || cached?.local_date || selectedForecastDate || null,
options?.targetDate ||
(options?.marketSlug ? cached?.local_date || selectedForecastDate || null : null),
});
if (!payload.market_scan) return null;
setCityDetailsByName((current) => {