diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts index 4390fcd69..897e6127b 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts @@ -144,10 +144,11 @@ export class HomeComponent implements OnInit { name: this.provinceTableData[i].name, itemStyle: { color: this.mapColor.length - 1 } }); - if (maxMapCount < this.provinceMapData[i].reportcount) { - maxMapCount = this.provinceMapData[i].reportcount; + if (maxMapCount < this.provinceMapData[i].value) { + maxMapCount = this.provinceMapData[i].value; } } + console.log(`maxMapCount ${maxMapCount}`); if (maxMapCount <= 100) { //100以内 this.mapSplitList = [