|
|
@ -310,7 +310,10 @@ export default { |
|
|
|
this.pieEduOptions.legend = { ...legend } |
|
|
|
this.clickEduPie(0) |
|
|
|
let fun = params => { |
|
|
|
this.clickEduPie(params.dataIndex) |
|
|
|
if (params.seriesIndex == 0 || params.seriesIndex == 2) { |
|
|
|
this.$refs.eduChart.clear() |
|
|
|
this.clickEduPie('-1') |
|
|
|
} else this.clickEduPie(params.dataIndex) |
|
|
|
} |
|
|
|
this.$refs.eduChart.handleClick(fun) |
|
|
|
}, |
|
|
|