From cdaa47e84ce70ad467b5784bac33830679ada75e Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 24 Mar 2023 14:06:08 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2727=20fix=EF=BC=9AChart=20Metric=20?= =?UTF-8?q?=E5=A4=8D=E5=88=B6&=E9=A2=84=E8=A7=88=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/rightBox/chart/chartConfig.vue | 2 +- .../common/rightBox/chart/publicConfig.js | 36 ++++++------------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index a49b70fe2..c6115b122 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -33,7 +33,7 @@ class="element-item form-row-item thresholds-from-item" style="margin-bottom: 10px !important" v-for="index of chartConfig.elements.length" - :key="index" + :key="expressionName[index-1] + index" >