From 3dbb0a8df1fab9a610bf521d2d082e7304926cd7 Mon Sep 17 00:00:00 2001
From: whyczyk <525500596@qq.com>
Date: 星期四, 04 三月 2021 15:48:16 +0800
Subject: [PATCH] 错误代码提交

---
 src/components/charts/abeamProChart.vue    |    3 +--
 src/components/charts/prossPieChart.vue    |    3 +--
 src/components/charts/imgPieChart.vue      |    3 +--
 src/components/charts/latticeBar.vue       |    3 +--
 src/components/charts/triangleBarChart.vue |    3 +--
 5 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/components/charts/abeamProChart.vue b/src/components/charts/abeamProChart.vue
index ecd61a1..f2aaae8 100644
--- a/src/components/charts/abeamProChart.vue
+++ b/src/components/charts/abeamProChart.vue
@@ -171,8 +171,7 @@
         this.setOption(option);
       },
       resize() {
-        let timers = null;
-        timers = setTimeout(() => {
+        setTimeout(() => {
           this.$options.chart.resize();
           this.setData(this.$options.chartData);
         }, 300)
diff --git a/src/components/charts/imgPieChart.vue b/src/components/charts/imgPieChart.vue
index 1a81652..28ff8f6 100644
--- a/src/components/charts/imgPieChart.vue
+++ b/src/components/charts/imgPieChart.vue
@@ -172,8 +172,7 @@
         this.setOption(option);
       },
       resize() {
-        let timers = null;
-        timers = setTimeout(() => {
+        setTimeout(() => {
           this.$options.chart.resize();
           this.setData(this.$options.chartData);
         }, 300)
diff --git a/src/components/charts/latticeBar.vue b/src/components/charts/latticeBar.vue
index b61989c..ad6770f 100644
--- a/src/components/charts/latticeBar.vue
+++ b/src/components/charts/latticeBar.vue
@@ -166,8 +166,7 @@
         this.setOption(option);
       },
       resize() {
-        let timers = null;
-        timers = setTimeout(() => {
+        setTimeout(() => {
           this.$options.chart.resize();
           this.setData(this.$options.chartData);
         }, 300)
diff --git a/src/components/charts/prossPieChart.vue b/src/components/charts/prossPieChart.vue
index c37f838..5701cb7 100644
--- a/src/components/charts/prossPieChart.vue
+++ b/src/components/charts/prossPieChart.vue
@@ -170,8 +170,7 @@
         this.setOption(option);
       },
       resize() {
-        let timers = null;
-        timers = setTimeout(() => {
+        setTimeout(() => {
           this.$options.chart.resize();
           this.setData(this.$options.chartData);
         }, 300)
diff --git a/src/components/charts/triangleBarChart.vue b/src/components/charts/triangleBarChart.vue
index 02f4423..e31d882 100644
--- a/src/components/charts/triangleBarChart.vue
+++ b/src/components/charts/triangleBarChart.vue
@@ -168,8 +168,7 @@
         this.setOption(option);
       },
       resize() {
-        let timers = null;
-        timers = setTimeout(() => {
+        setTimeout(() => {
           this.$options.chart.resize();
           this.setData(this.$options.chartData);
         }, 300)

--
Gitblit v1.9.1