When using ECharts, if you want to return different prompts according to different provinces, you can first check what data is in the console and then return different prompts according to different data
tooltip : {
trigger: 'item',
show:true,
formatter: function (params) {
// console.log(params); // 里面是悬浮区域的数据
let jy = params.value;
if(jy==-1){
return '';
else{
return '{b}:{c} 万元';
}
}
},