Commit 81d9e507 authored by leon's avatar leon

fix: fix map tooltip bug

parent 00d82801
......@@ -133,6 +133,9 @@
show: this.elementInfo.option.dataset.show,
trigger: 'item',
formatter: (value) => {
if(!value.data) {
return ""
}
if(this.elementInfo.option.dataset.formatter) {
return this.$u.common.converFunction(this.elementInfo.option.dataset.formatter, value)
} else {
......@@ -149,7 +152,7 @@
animationDurationUpdate: 1000,
universalTransition: true,
tooltip: {
show: false
show: this.elementInfo.option.dataset.show
},
data: series,
}, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment