fix: init metrics

This commit is contained in:
Qiuxia Fan 2022-03-17 17:57:05 +08:00
parent c9af35cf1e
commit 28028dc378

View File

@ -218,6 +218,8 @@ function changeChartType(item: Option) {
}; };
if (catalog[graph.type]) { if (catalog[graph.type]) {
setMetricType(catalog[graph.type]); setMetricType(catalog[graph.type]);
} else {
setMetricType();
} }
} }