From 50e1763cf930dd10f25d0846985880315698823f Mon Sep 17 00:00:00 2001 From: zhangyu Date: Sat, 27 Nov 2021 15:38:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20chart-alert-list=20?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-alert-list.vue | 2 ++ nezha-fronted/src/components/charts/chartPreview.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/charts/chart-alert-list.vue b/nezha-fronted/src/components/charts/chart-alert-list.vue index f2c3c4d48..7c0e43dda 100644 --- a/nezha-fronted/src/components/charts/chart-alert-list.vue +++ b/nezha-fronted/src/components/charts/chart-alert-list.vue @@ -74,6 +74,7 @@ :form="'chartList'" :fromPath="'/alertList'" style="height: calc(100% - 50px)" + :showOption="showOption" :showTopBtn="false" > @@ -205,6 +206,7 @@ export default { chartData: {}, id: { type: String }, from: { type: String }, + showOption: { type: Boolean, default: true }, isLock: { type: Boolean, default: false } }, mixins: [chartDataList], diff --git a/nezha-fronted/src/components/charts/chartPreview.vue b/nezha-fronted/src/components/charts/chartPreview.vue index 542b49cd8..2fd34574a 100644 --- a/nezha-fronted/src/components/charts/chartPreview.vue +++ b/nezha-fronted/src/components/charts/chartPreview.vue @@ -168,7 +168,7 @@ - +