From dd5230a54a8611e9e3b95d187481c83961cd1c21 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 21 Jan 2021 15:56:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=20=20=20chartBox?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6type=E4=B8=BA=20singleStat=20express?= =?UTF-8?q?ion=E5=8F=AF=E4=BB=A5=E6=B7=BB=E5=8A=A0=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E4=BB=A5=E5=8F=8A=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BE=A7=E6=BB=91=E6=A0=B7=E5=BC=8F=E9=94=99=E4=B9=B1=E7=9A=84?= =?UTF-8?q?=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/page/dashboard/chartBox.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index c74504306..7659fc27f 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -64,7 +64,7 @@ height: 100vh; top: 0; left: 0; - /*z-index: 2100;*/ + z-index: 1; } /deep/ .el-color-picker{ position: absolute; @@ -352,7 +352,7 @@ - +
@@ -1247,6 +1247,8 @@ this.$refs.alertParamBox.setData(data) }) //this.elements=[1]; + }else if(this.editChart.type==='singleStat'){ + this.setIsSingleStat(); }else{ if((this.editChart.type==='line'||this.editChart.type==='bar'||this.editChart.type==='stackArea'||this.editChart.type==='singleStat')&&data.param){ this.editChart.param.threshold=data.param.threshold;