diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index c79e0ae12d..1a9a2cd68a 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -889,7 +889,9 @@ export const BASE_MAP = { }, emphasis: { - + label: { + show: false + } } } } diff --git a/frontend/src/views/chart/chart/map/map.js b/frontend/src/views/chart/chart/map/map.js index ead8013c8f..65ae8ff0d9 100644 --- a/frontend/src/views/chart/chart/map/map.js +++ b/frontend/src/views/chart/chart/map/map.js @@ -95,6 +95,7 @@ export function baseMapOption(chart_option, chart, themeStyle, curAreaCode) { chart_option.series[0].label.shadowBlur = 2 chart_option.series[0].label.showdowColor = customAttr.label.shadowColor } + chart_option.series[0].itemStyle.emphasis.label.show = customAttr.label.show } const valueArr = chart.data.series[0].data // visualMap