小程序组件webview组件覆盖小程序本身右下角调试模式按钮,怎么解决覆盖调试?

小程序 文章 2022-03-23 21:40 716 0 全屏看文

AI助手支持GPT4.0

小程序组件webview组件覆盖小程序本身右下角调试模式按钮,怎么解决覆盖调试?The webview component of the applet component covers the debug mode button in the lower right corner of the applet itself. How to solve the overlay debugging?

小程序组件webview组件覆盖小程序本身右下角调试模式按钮,怎么解决覆盖调试?

小程序组件webview组件,在手机上开启体验版调试模式后,webview会覆盖小程序本身右下角的调试按钮,没办法调试在手机上查看数据和调试真机。这么问是因为开发者工具没办法模拟很多情况的业务逻辑开发真实机器测试出现的bug,就无法复现和定位。建议官方能优化webview覆盖小程序本身调试模式右下角的调试按钮问题,谢谢。

For the widget component WebView component, after the experience version debugging mode is enabled on the mobile phone, WebView will cover the debugging button in the lower right corner of the widget itself. There is no way to debug. View the data and debug the real machine on the mobile phone. This is because the developer tools can't simulate many situations of business logic development, and the bugs in real machine testing can't be reproduced and located. It is suggested that the official can optimize WebView to cover the debugging button in the lower right corner of the debugging mode of the applet itself. Thank you.

回答:

九灭:这个就是好用太牛逼了
老张:

1、返回上一页,查看vConsole

brave:

H5这边自己引入vconsole吧 https://github.com/Tencent/vConsole

🐠糖醋鱼:H5引入的是调试H5自己的,小程序本身的无法调试

-EOF-

AI助手支持GPT4.0