From 936633659148e800a8d09322a9f1e646104010a7 Mon Sep 17 00:00:00 2001 From: yichenxi <yichenxi0601@163.com> Date: Mon, 12 Dec 2022 14:14:57 +0800 Subject: [PATCH] 1、尘负荷走航路段报告 --- src/components/Echarts/LineChartSpe.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/Echarts/LineChartSpe.vue b/src/components/Echarts/LineChartSpe.vue index 8f89805..df84764 100644 --- a/src/components/Echarts/LineChartSpe.vue +++ b/src/components/Echarts/LineChartSpe.vue @@ -45,13 +45,12 @@ }, watch: { chartData: { - + handler(val) { - console.log(val,'wath'); this.setOptions(val) }, deep: true, - + }, }, mounted() { @@ -72,7 +71,6 @@ this.setOptions(this.chartData) }, setOptions(val) { - console.log(val.series,'123'); function fontSize(res) { let clientWidth = window.innerWidth || @@ -119,7 +117,6 @@ position: function (pt) { return [pt[0], '10%'] }, - //params[i].axisValue+'<br/>'+ // formatter(params) { // console.log(params,'ssss'); // let data=[] @@ -129,7 +126,7 @@ // return data // }, }, - + yAxis: { axisLabel: { show: false, @@ -155,7 +152,7 @@ top:fontSize(4), height: fontSize(0.4), }, - + ], series: val.series, // [{ -- Gitblit v1.8.0