From 41cf9226db29290f172dbcd550ab33d2aa7702f2 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 16 Dec 2020 14:55:14 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20=E5=BD=93charbox=E5=87=BA=E7=8E=B0=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E6=97=B6=20input=E6=8D=A2=E8=A1=8C=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/assets/stylus/main.scss | 2 +- nezha-fronted/src/components/page/dashboard/chartBox.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index ab29dc1c7..7c73e74ce 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -2269,7 +2269,7 @@ li{ } .right-box-form>.el-form-item.half-form-item-other-two{ display: inline-block; - width: 390px; + width: 380px; margin-left: 0; } .right-box .right-box-form-add,.right-box .right-box-form-minus-box{ diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index a3c3b638a..f4d25dc25 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -1567,8 +1567,10 @@ if(flag){ return } - this.showPicker[index].bac=false; - this.showPicker[index].text=false; + if(this.showPicker[index]){ + this.showPicker[index].bac=false; + this.showPicker[index].text=false; + } }, delMapping:function(index){ this.editChart.param.valueMapping.mapping.splice(index,1)