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