4月2日

// 移出该区域时,取消高亮
myChart.on('mouseOut', function(params){
console.log(params);//此处写点击事件内容
for(var i=0;i<dataList.length;i++){
// data11[i].value="0";
if(params.name == dataList[i].name){
console.log(params.name);
//取消高亮
// myChart.dispatchAction({ type: 'downplay', name:params.name});

$(".map-table tbody tr").eq(i).removeClass('highTr');
}
}
});

正常的显示效果,来实现移开高亮。

原文地址:https://www.cnblogs.com/buyaoya-pingdao/p/14623057.html