From d1e38477eef0140cd8c0bc73245b33543e0234ed Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 3 Nov 2021 17:30:20 +0800 Subject: [PATCH] =?UTF-8?q?fixl=20=E4=BF=AE=E6=94=B9panel=20alertlist=20sn?= =?UTF-8?q?mp=20=E5=8F=8C=E5=87=BB=E6=89=93=E5=BC=80=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-alert-list.vue | 3 +++ nezha-fronted/src/components/page/asset/asset.vue | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-alert-list.vue b/nezha-fronted/src/components/charts/chart-alert-list.vue index 4c25c88a9..e7f3deb21 100644 --- a/nezha-fronted/src/components/charts/chart-alert-list.vue +++ b/nezha-fronted/src/components/charts/chart-alert-list.vue @@ -464,6 +464,9 @@ export default { }) }, messageDetail (row) { + if (row.alertRule.type == 3) { + return + } this.$get('/alert/rule/' + row.alertRule.id).then(res => { this.currentMsg = { ...row, alertRule: { ...res.data } } this.graphShow = true diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index 021f6426f..e54fa0306 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -589,8 +589,6 @@ export default { } }) // this.titleSearchList.assetLabel.children = data - console.log(metaData) - console.log(data) resolve(data) setTimeout(() => { const title = this.tools.customTableTitle