From 38383e517440561f8b409289d1e07f3a95042ae7 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 27 Oct 2021 13:58:25 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1090=20fix=EF=BC=9ALine=20Chart=20=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=82=AC=E5=81=9C=E4=BF=A1=E6=81=AF=E8=A2=AB=E9=81=AE?= =?UTF-8?q?=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/line-chart-block.vue | 2 +- nezha-fronted/src/components/page/alert/alertMessage.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/charts/line-chart-block.vue b/nezha-fronted/src/components/charts/line-chart-block.vue index e9064912c..4f1ffe49d 100644 --- a/nezha-fronted/src/components/charts/line-chart-block.vue +++ b/nezha-fronted/src/components/charts/line-chart-block.vue @@ -666,7 +666,7 @@ export default { }, tooltip: { // 和 option.tooltip 的配置项相同 show: true, - position: 'top', + position: 'bottom', formatter: function (param) { return param.title // 自定义的 DOM 结构 }, diff --git a/nezha-fronted/src/components/page/alert/alertMessage.vue b/nezha-fronted/src/components/page/alert/alertMessage.vue index 8fc6d979c..3210c016f 100644 --- a/nezha-fronted/src/components/page/alert/alertMessage.vue +++ b/nezha-fronted/src/components/page/alert/alertMessage.vue @@ -1005,7 +1005,7 @@ export default { deleteMessage () {} }, destroyed () { - localStorage.removeItem('endpointProjectId') + localStorage.removeItem('alertMessageProjectId') } }