mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 20:42:55 +08:00
Merge pull request #3504 from dataease/pr@dev@fix_map_label
fix(地图): 未开启标签但开启了提示二者会被同时触发
This commit is contained in:
commit
0480a98d79
@ -889,7 +889,9 @@ export const BASE_MAP = {
|
||||
|
||||
},
|
||||
emphasis: {
|
||||
|
||||
label: {
|
||||
show: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user