From e613d1d9a8b4029928ab8bedeaa9662d46a4f549 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 16 Sep 2022 17:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=952?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/visual/communityParty/party.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/modules/visual/communityParty/party.vue b/src/views/modules/visual/communityParty/party.vue index b355acfbc..11ec3f82c 100644 --- a/src/views/modules/visual/communityParty/party.vue +++ b/src/views/modules/visual/communityParty/party.vue @@ -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 = ''