diff --git a/src/views/dashboard/configuration/widget/metric/Standard.vue b/src/views/dashboard/configuration/widget/metric/Standard.vue index 560a6cf8..6c9e6ede 100644 --- a/src/views/dashboard/configuration/widget/metric/Standard.vue +++ b/src/views/dashboard/configuration/widget/metric/Standard.vue @@ -30,7 +30,7 @@ limitations under the License. --> @change="changeConfigs(index, { unit: currentMetricConfig.unit })" /> -
+
{{ t("labels") }} @change="changeConfigs(index, { label: currentMetricConfig.label })" />
-
+
{{ t("labelsIndex") }} :clearable="true" />
-
+
{{ t("sortOrder") }} (props.currentMetricConfig); +const metricType = ref( + dashboardStore.selectedGrid.metricTypes[props.index] +); function changeConfigs(index: number, param: { [key: string]: string }) { const metricConfig = dashboardStore.selectedGrid.metricConfig || [];