From de1de05ef3988c080c99df4e96125385b4127e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Thu, 9 Apr 2020 12:21:42 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E4=BF=AE=E5=A4=8Dduplicate=20key?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/tabs/alertMessageTab.vue | 2 +- nezha-fronted/src/components/page/alert/list.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue index 0b6476281..1f12cb0fd 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/alertMessageTab.vue @@ -92,7 +92,7 @@ {{key}}:{{value}} + size="mini" v-for="(value, key) in scope.row.labels" class="alert-message-tag">{{key}}:{{value}}
diff --git a/nezha-fronted/src/components/page/alert/list.vue b/nezha-fronted/src/components/page/alert/list.vue index 968958bc8..fde85e845 100644 --- a/nezha-fronted/src/components/page/alert/list.vue +++ b/nezha-fronted/src/components/page/alert/list.vue @@ -99,7 +99,6 @@ :key="key" :class="{'link': key == 'asset' || key == 'endpoint' || key == 'project' || key == 'module' || key == 'datacenter'}" v-if="key != 'alertname' && key != 'severity'" - :key="key" :type="tagType(key)" size="mini" v-for="(value, key) in scope.row.labels" class="alert-message-tag">{{key}}:{{value}}