From e9cd3ce4ffe46248f249ea196e13c19239e93b91 Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 30 Jun 2022 13:26:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=EF=BC=9Aechart?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/workBench/components/dept-chart-view.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/back/src/views/modules/workBench/components/dept-chart-view.vue b/back/src/views/modules/workBench/components/dept-chart-view.vue index 71dc9cf5..58c24019 100644 --- a/back/src/views/modules/workBench/components/dept-chart-view.vue +++ b/back/src/views/modules/workBench/components/dept-chart-view.vue @@ -60,11 +60,8 @@ export default { this.myChart.dispose() } this.myChart = chartDom && echarts.init(chartDom); - console.log('this.myChart------------>', this.myChart); - let lengendArr = this.dataListCopy.filter(v => v.name); - let colorArray = [ '#fe845e', '#ff3e55', '#d5c438', '#ff9999', '#9c78ed', '#48c760', '#48c6c7', '#0058e1', ] @@ -113,8 +110,8 @@ export default { }, "icon": "circle", "right": "0", - "bottom": "0", - "padding": [10, 60], + "bottom": "30", + // "padding": [10, 60], "itemGap": 10, "data": lengendArr },