解决方式:transitionDuration: 0
给tooltip添加属性
tooltip: {
trigger: 'axis',
axisPointer: {
lineStyle: {
// color: '#ddd'
}
},
textStyle: {
// color: '#7588E4'
},
transitionDuration: 0
},