diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index 1297ecc5f..f5af8847c 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -336,7 +336,9 @@ this.dataTotalListBak.push(newItem); } this.dataList = this.dataTotalListBak; - this.showShadow=false; + this.$nextTick(()=>{ + this.showShadow=false; + }) }else { if(response.msg){ this.$message.error(response.msg); @@ -700,6 +702,7 @@ } }); } + }); }, loadChartData(scrollTop){ diff --git a/nezha-fronted/src/components/charts/line-chart-block.vue b/nezha-fronted/src/components/charts/line-chart-block.vue index 56a30e9fe..35e5d6c59 100644 --- a/nezha-fronted/src/components/charts/line-chart-block.vue +++ b/nezha-fronted/src/components/charts/line-chart-block.vue @@ -37,7 +37,7 @@ - {{chartData.title}}-[{{chartData.id}}] + {{chartData.title}}