From d507eaf2b8c0cc45975c5cc6fa5385921c1d9953 Mon Sep 17 00:00:00 2001 From: Fine Date: Wed, 10 Apr 2024 23:22:10 +0800 Subject: [PATCH] fix: update --- src/views/dashboard/graphs/Table.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/dashboard/graphs/Table.vue b/src/views/dashboard/graphs/Table.vue index b5f3cd95..2ab46c05 100644 --- a/src/views/dashboard/graphs/Table.vue +++ b/src/views/dashboard/graphs/Table.vue @@ -37,12 +37,7 @@ limitations under the License. --> >{{ k.split("=")[1] }}
- {{ - (config.metricTypes && config.metricTypes[0] === "readMetricsValue") || - (props.config.typesOfMQE && props.config.typesOfMQE[0] === ExpressionResultType.SINGLE_VALUE) - ? data[keys[0]] - : data[(keys as string[]).join(",")][data[(keys as string[]).join(",")].length - 1 || 0] - }} + {{ data[(keys as string[]).join(",")][data[(keys as string[]).join(",")].length - 1 || 0] }}
@@ -51,7 +46,6 @@ limitations under the License. --> import { computed } from "vue"; import type { PropType } from "vue"; import { useI18n } from "vue-i18n"; - import { ExpressionResultType } from "@/views/dashboard/data"; /*global defineProps */ const props = defineProps({ data: {