Closed sunO2 closed 4 years ago
不知『正在加载』是指加载数据,还是加载代码还是什么?
数据正在加载过程
同样的问题,在oppo r9m上出现卡死现象。只要进入echart页面,导致所有ajax请求卡住
echart3.7版本添加动画完了关闭动画。
这是由于echart进行动画时,完成后未关闭动画,坑爹啊
try{
if(navigator.userAgent.toLowerCase().indexOf('oppo') > -1){
window.requestAnimationFrame = function (callback) {
window.setTimeout(callback, 1000 / 30);
};
}
}catch (e){
}
最后用这个方法解决的
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
One-line summary [问题简述]
页面 重复开启关闭 当Echats 正在加载的时候 关闭页面 调用 webView.destroy(); 之后再进入页面 会导致 整个APP 中的 WebView 卡死 页面无法加载出来
Version & Environment [版本及环境]
ECharts version [ECharts 版本]: Echarts 3.6v
Browser version [浏览器类型和版本]:
OS Version [操作系统类型和版本]: Android
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
Other comments [其他信息]