统一方案类型命名为小写形式
This commit is contained in:
@@ -396,7 +396,7 @@ const emptyStateMessages: Record<
|
|||||||
const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
|
const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
|
||||||
featureInfos,
|
featureInfos,
|
||||||
type = "none",
|
type = "none",
|
||||||
scheme_type = "burst_Analysis",
|
scheme_type = "burst_analysis",
|
||||||
scheme_name,
|
scheme_name,
|
||||||
defaultTab = "chart",
|
defaultTab = "chart",
|
||||||
fractionDigits = 2,
|
fractionDigits = 2,
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ const Timeline: React.FC<TimelineProps> = ({
|
|||||||
timeRange,
|
timeRange,
|
||||||
disableDateSelection = false,
|
disableDateSelection = false,
|
||||||
schemeName = "",
|
schemeName = "",
|
||||||
schemeType = "burst_Analysis",
|
schemeType = "burst_analysis",
|
||||||
}) => {
|
}) => {
|
||||||
const data = useData();
|
const data = useData();
|
||||||
const fallbackSelectedDateRef = useRef(new Date());
|
const fallbackSelectedDateRef = useRef(new Date());
|
||||||
|
|||||||
@@ -921,7 +921,7 @@ const Toolbar: React.FC<ToolbarProps> = ({
|
|||||||
})
|
})
|
||||||
.filter(Boolean) as [string, string][];
|
.filter(Boolean) as [string, string][];
|
||||||
})()}
|
})()}
|
||||||
scheme_type="burst_Analysis"
|
scheme_type="burst_analysis"
|
||||||
scheme_name={schemeName}
|
scheme_name={schemeName}
|
||||||
type={chatPanelFeatureInfos ? chatPanelType : (queryType as "realtime" | "scheme" | "none")}
|
type={chatPanelFeatureInfos ? chatPanelType : (queryType as "realtime" | "scheme" | "none")}
|
||||||
start_time={chatPanelTimeRange?.startTime}
|
start_time={chatPanelTimeRange?.startTime}
|
||||||
@@ -965,7 +965,7 @@ const Toolbar: React.FC<ToolbarProps> = ({
|
|||||||
})
|
})
|
||||||
.filter(Boolean) as [string, string][];
|
.filter(Boolean) as [string, string][];
|
||||||
})()}
|
})()}
|
||||||
scheme_type="burst_Analysis"
|
scheme_type="burst_analysis"
|
||||||
scheme_name={schemeName}
|
scheme_name={schemeName}
|
||||||
type={chatPanelFeatureInfos ? chatPanelType : (queryType as "realtime" | "scheme" | "none")}
|
type={chatPanelFeatureInfos ? chatPanelType : (queryType as "realtime" | "scheme" | "none")}
|
||||||
start_time={chatPanelTimeRange?.startTime}
|
start_time={chatPanelTimeRange?.startTime}
|
||||||
|
|||||||
Reference in New Issue
Block a user