|
|
@ -338,7 +338,11 @@ export default { |
|
|
|
this.pieEduOptions = pieOption(this.pieEduChartS) |
|
|
|
this.pieEduOptions.legend = { ...legend } |
|
|
|
// this.pieEduOptions.series[1].width = 400 |
|
|
|
this.clickEduPie(0) |
|
|
|
|
|
|
|
const maxValue = Math.max(...this.eduItem.map(i => Number(i.value))); |
|
|
|
const maxIndex = this.eduItem.findIndex(a => Number(a.value)==maxValue); |
|
|
|
this.clickEduPie(maxIndex) |
|
|
|
console.log('----------------------最大值old', maxValue, maxIndex) |
|
|
|
let fun = params => { |
|
|
|
this.clickEduPie(params.dataIndex) |
|
|
|
} |
|
|
|