Browse Source

竟然还有个old

dev-map-local
dai 3 years ago
parent
commit
62a9b0e5ca
  1. 6
      src/views/modules/visual/communityParty/partyOld.vue

6
src/views/modules/visual/communityParty/partyOld.vue

@ -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)
}

Loading…
Cancel
Save