forked from github/dataease
fix(地图): 未开启标签但开启了提示二者会被同时触发
This commit is contained in:
parent
9ceb017d2a
commit
60205b25ed
@ -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