Fix today analysis modal routing

This commit is contained in:
2569718930@qq.com
2026-04-17 20:40:17 +08:00
parent f98388ce69
commit bc09a3753c
4 changed files with 43 additions and 6 deletions
+3
View File
@@ -606,6 +606,8 @@ export interface ProAccessState {
error: string | null;
}
export type ForecastModalMode = "today" | "future";
export interface DashboardState {
cities: CityListItem[];
cityDetailsByName: Record<string, CityDetail>;
@@ -613,6 +615,7 @@ export interface DashboardState {
selectedCity: string | null;
isPanelOpen: boolean;
selectedForecastDate: string | null;
forecastModalMode: ForecastModalMode | null;
loadingState: LoadingState;
historyState: HistoryState;
proAccess: ProAccessState;