小程序真机调试,扫描出来的竟然是 downloading file waerrpage.bin ,之后就是白屏,没有反应,这是为什么呢?
问题解决:
原因是 <web-view src="http://localhost:8000"> </web-view> 其中的localhost 不能识别,所以解决办法就是:
1、如果你的小程序是个人版,则将 localhost 换成 ip 地址 或者 业务域名下的网址
2、如果你的小程序是企业版,则将localhost换成 业务域名下的网址
问题解决:
原因是 <web-view src="http://localhost:8000"> </web-view> 其中的localhost 不能识别,所以解决办法就是:
1、如果你的小程序是个人版,则将 localhost 换成 ip 地址 或者 业务域名下的网址
2、如果你的小程序是企业版,则将localhost换成 业务域名下的网址