hanjiang
Results
1
issues of
hanjiang
vConsole Version: 3.10.0+ 在移动端调试时,有时候页面的主 js bundle 里有兼容性问题的 js 执行报错了。这个时候,即使在页面最前面引用 vconsole 脚本并初始化,也捕获不到主 js bundle 里的 js 错误。(这个错误对于移动端调试很关键,能帮助找到哪行代码有兼容问题。)  看代码里,发现 bindErrors 是在 onReady 后才做的,也就是 DOMContentLoaded 事件触发后。所以无法捕获到在此之前发生的 js error。 (在 3.10.0 之前的版本,没有这个问题。)