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 fd740ca1..e2614a22 100644 --- a/back/src/views/modules/workBench/components/dept-chart-view.vue +++ b/back/src/views/modules/workBench/components/dept-chart-view.vue @@ -60,6 +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); @@ -98,6 +100,9 @@ export default { }, }, ], + tooltip: { + triagger: 'item' + }, "legend": { type: 'scroll', "width": "90%",