From 136c63ef20e0ff41a8172c2d66d2b52ffd1bd2be Mon Sep 17 00:00:00 2001 From: luyisha Date: Mon, 31 Jul 2023 15:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=9C=E8=89=B2=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index d26907e..8051e53 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -226,9 +226,6 @@ export default { btgetdata() { //年客流、月、日 let that = this; - that.proportionData = []; - that.groupNameData = []; - that.dataP = []; // console.log(type) let rqtp; switch (this.klselt) { @@ -777,9 +774,6 @@ export default { getHomeBarData() { let that = this; - that.proportionData = []; - that.groupNameData = []; - that.dataP = []; homeApi.homeBarData().then(res => { // /pass.passcc/allGroupTimeNum&granularity=daily // get allTimeData @@ -886,7 +880,7 @@ export default { ')' ); } - let color = ['#00d2ff', '#22e5d1', '#f4d64e', '#0072ff','#00d2ff', '#22e5d1', '#f4d64e', '#0072ff']; + let color = ['#ff9acc', '#6666ff', '#ff6600', '#02ff00','#00ffff', '#fdff00']; let color1=[], color2=[], color3=[]; // 设置每层圆环颜色和添加间隔的透明色 color.forEach((item) => { @@ -1003,7 +997,7 @@ export default { myChart.clear(); option && myChart.setOption(option); run(myChart); - }, 3000); + }, 4000); }, 200) }, },