怎样解决别人扫我的体验二维码可以打开小程序, 我自己打开就是白屏?

小程序 文章 2021-02-01 11:41 1542 0 全屏看文

AI助手支持GPT4.0

怎样解决别人扫我的体验二维码可以打开小程序, 我自己打开就是白屏?How to solve the problem that others can open the mini program by scanning the QR code of my experience.

怎样解决别人扫我的体验二维码可以打开小程序, 我自己打开就是白屏?

我是开发者, 以下场景均使用的是开发者账号登录微信. 白屏的三种情况: 1. 微信开发者工具-真机调试-启动手机端自动真机调试; 2.微信开发者工具-二维码真机调试; 3. 用开发者微信账号,扫描体验二维码,打开白屏. 不是白屏的情况: 1. 微信开发者工具-编译-模拟器 2. 启动PC端自动真机调试

微信版本 8.0.1

I am a developer, and the following scenarios all use the developer account to log in wechat. There are three situations of white screen: 1. Wechat developer tool - real machine debugging - start the automatic real machine debugging on the mobile terminal; 2. Wechat developer tool - real machine debugging of QR code; 3. Use the developer's wechat account to scan and experience the QR code and open the white screen. If it is not white screen: 1. Wechat developer tool - compiler Simulator 2 Start PC Auto real machine debugging wechat version 8.0.1

回答:

默认²⁰²⁰:

打开调试就有请求能力了

man:

没有任何的报错信息. WXML信息如下:

Brother斌🎈:

真机调试的白屏开发者工具有看到报错么

man:没有报错信息.截图如下图评论.
Brother斌🎈:截一下真机调试时的Console看一下咧
man:来了咧~
Brother斌🎈:写法也很正常,复现不了,难搞
man:我的小程序首页,是加载了webview, 首先需要根据逻辑判断加载不同的url.  猜想跟小程序加载webview白屏有关. 因为刚刚测试了下小程序原生的弹框是可以的.

-EOF-

AI助手支持GPT4.0