We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 echarts-all.js中 链接:https://github.com/ecomfe/echarts/blob/master/build/source/echarts-all.js 在这个情况, 点击echarts的中国地图,通过弹框将百度地图显示在echarts的中国地图上,会出现这个bug
所在函数: isZRenderElement = function (event) 修正措施,判断className 是否为字符串即可, 备注: 1、 修正点击切换到弹出框的bug,那时他的target是'path' 2、path的target.className 输出为SVGAnimatedString {} 需要增加的代码如下: if (Object.prototype.toString.call(target.className) != "[object String]") { return false; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在 echarts-all.js中 链接:https://github.com/ecomfe/echarts/blob/master/build/source/echarts-all.js
在这个情况,
点击echarts的中国地图,通过弹框将百度地图显示在echarts的中国地图上,会出现这个bug
所在函数: isZRenderElement = function (event)
修正措施,判断className 是否为字符串即可,
备注:
1、 修正点击切换到弹出框的bug,那时他的target是'path'
2、path的target.className 输出为SVGAnimatedString {}
需要增加的代码如下:
if (Object.prototype.toString.call(target.className) != "[object String]") {
return false;
}
The text was updated successfully, but these errors were encountered: