fix(map): use component-level loading skeletons

This commit is contained in:
2026-07-30 13:21:55 +08:00
parent c4246cf25f
commit 1d7e07174f
28 changed files with 1095 additions and 264 deletions
@@ -35,7 +35,7 @@ interface ToolbarProps {
hiddenButtons?: string[]; // 可选的隐藏按钮列表,例如 ['info', 'draw', 'style']
queryType?: string; // 可选的查询类型参数
schemeType?: string; // 可选的方案类型参数
HistoryPanel?: React.FC<any>; // 可选的自定义历史数据面板
HistoryPanel?: React.ComponentType<any>; // 可选的自定义历史数据面板
enableCompare?: boolean;
}
@@ -16,7 +16,7 @@ type ToolbarHistoryPanelProps = {
endTime?: string;
} | null;
highlightFeatures: Feature[];
HistoryPanel?: React.FC<any>;
HistoryPanel?: React.ComponentType<any>;
schemeName?: string;
queryType?: string;
onClose: () => void;