Skip to content
New issue

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

在手机端QQ浏览器下不显示Console菜单 #5

Closed
wtslh opened this issue May 24, 2016 · 2 comments
Closed

在手机端QQ浏览器下不显示Console菜单 #5

wtslh opened this issue May 24, 2016 · 2 comments

Comments

@wtslh
Copy link

wtslh commented May 24, 2016

在手机端QQ浏览器下不显示Console菜单。
添加如下代码:
try {eruda.init({tool: 'console'});} catch(e) {alert(e.stack)};
后可以看到错误堆栈:
TypeError:Cannot call method 'bind' of undefined at http://192.168.1.211:8080/myApp/js/eruda.js:7619:68 at Array.forEach(native) at Console.overrideConsole(http://192.168.1.211:8080/myApp/js/eruda.js:7618:29) at Console._initConfig(http://192.168.1.211:8080/myApp/js/eruda.js:7784:51) at console.init(http://192.168.1.211:8080/myApp/js/eruda.js:7602:19) at Devtools.add(http://192.168.1.211:8080/myApp/js/eruda.js:7135:31) at http://192.168.1.211:8080/myApp/js/eruda.js:197:33 at Array.forEach(native) at Object.initTools(http://192.168.1.211:8080/myApp/js/eruda.js:194:15) at Object.init(http://192.168.1.211:8080/myApp/js/eruda.js:133:15)

@surunzi
Copy link
Member

surunzi commented May 24, 2016

已经做了兼容并更新到Demo页:http://liriliri.github.io/eruda/
在QQ浏览器里打开这个页面看下console面板能否出来?

@wtslh
Copy link
Author

wtslh commented May 24, 2016

OK,Console菜单可以显示出来了。

@surunzi surunzi closed this as completed May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants