diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 981877b2..f8afd6b1 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -857,7 +857,8 @@ export default { polygonTemplate.strokeWidth = 0.5 polygonTemplate.fill = am4Core.color('rgba(176,196,222,.5)') polygonTemplate.events.on('hit', ev => { - const countryId = ev.target.dataItem.dataContext.id + let countryId = ev.target.dataItem.dataContext.id + countryId = countryId === 'Private IP' ? 'China' : countryId if (countryId) { ev.target.series.chart.zoomToMapObject(ev.target) ev.target.isHover = false