|
|
@ -428,8 +428,9 @@ export default { |
|
|
|
this.pieEduOptions.legend = { ...legend } |
|
|
|
// this.pieEduOptions.series[1].width = 400 |
|
|
|
const maxValue = Math.max(...this.eduItem.map(i => Number(i.value))); |
|
|
|
const maxIndex = this.eduItem.findIndex(a => Number(a.value)==maxValue) |
|
|
|
const maxIndex = this.eduItem.findIndex(a => Number(a.value)==maxValue); |
|
|
|
this.clickEduPie(maxIndex) |
|
|
|
console.log('----------------------最大值', maxValue, maxIndex) |
|
|
|
let fun = params => { |
|
|
|
// if (params.seriesIndex == 0 || params.seriesIndex == 2) { |
|
|
|
// this.eduCode = '' |
|
|
|