Commit 1d5c77d9 authored by liuzhaoh's avatar liuzhaoh

优化联动

parent 45c0c843
......@@ -194,7 +194,17 @@ const chartLinkageFun = (target) => {
// }
})
})
chartInstance[currentKey].on('mouseout', () => {
Object.keys(chartInstance).forEach((key) => {
if (key !== currentKey) {
chartInstance[key].dispatchAction({
type: 'hideTip',
})
}
})
});
})
}
// 移出图表事件
const chartRemoveEvent = () => {
......
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