-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Description
从一个绑定鼠标事件对象上 快速移动到 echarts图上的时候, 会报 t.className.match is not a function 这个错误,前面应该在加一层判断吧
var isZRenderElement = function (event) {
// 暂时忽略 IE8-
if (window.G_vmlCanvasManager) {
return true;
}
event = event || window.event;
// 进入对象优先~
var target = event.toElement
|| event.relatedTarget
|| event.srcElement
|| event.target;
return target && target.className.match && target.className.match(config.elementClassName)
};
靠谱么
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels