问题:线上微信小程序,部分手机打开后,不限授权弹窗,不能执行任何操作,页面白屏,只显示出静态部分,而且CDN的图片也都加载不出来;从用户日志中看到微信小程序没有执行任何wx的api。
删除微信小程序,重新搜索,依然是白屏。
请问大神们,有遇到过这样的情况吗?
1. 线上微信小程序基础版最低版本设置为:1.9.9;
2. 代码内使用了,ES7 async await,上传线上代码是没有勾线ES6转ES5
日志:
1. 出现白屏的日志:
2018-11-30 0:47:56 [log] page pages/position/position onLoad have been invoked
2018-11-30 0:47:56 [log] page pages/position/position onShow have been invoked
2018-11-30 0:47:56 [log] page pages/position/position onReady have been invoked
2018-11-30 0:48:3 [log] page pages/position/position onHide have been invoked
2018-11-30 0:48:3 [log] page pages/resume/resume/resume onLoad have been invoked
2018-11-30 0:48:3 [log] page pages/resume/resume/resume onShow have been invoked
2018-11-30 0:48:3 [log] page pages/resume/resume/resume onReady have been invoked
2018-11-30 0:48:4 [log] page pages/resume/resume/resume onHide have been invoked
2018-11-30 0:48:4 [log] page pages/position/position onShow have been invoked
2018-11-30 0:48:9 [log] page pages/position/position onHide have been invoked
2018-11-30 0:48:9 [log] page pages/mine/mine onLoad have been invoked
2018-11-30 0:48:9 [log] page pages/mine/mine onShow have been invoked
2018-11-30 0:48:9 [log] page pages/mine/mine onReady have been invoked
2018-11-30 0:48:11 [log] page pages/mine/mine onHide have been invoked
2018-11-30 0:48:11 [log] page pages/position/position onShow have been invoked
2018-11-30 0:48:20 [log] page pages/position/position onHide have been invoked
2018-11-30 0:48:28 [log] page pages/position/position onShow have been invoked
2018-11-30 0:48:32 [log] page pages/position/position onHide have been invoked
2018-11-30 0:48:32 [log] page pages/resume/resume/resume onShow have been invoked
2018-11-30 0:48:33 [log] page pages/resume/resume/resume onHide have been invoked
2018-11-30 0:48:33 [log] page pages/mine/mine onShow have been invoked
2018-11-30 0:48:36 [log] page pages/mine/mine onHide have been invoked
2. 正常显示的日志:
2018-12-4 12:20:18 [log] wx.getNetworkType api invoke
2018-12-4 12:20:18 [log] wx.getNetworkType success callback with msg getNetworkType:ok
2018-12-4 12:20:18 [log] wx.getSystemInfo api invoke
2018-12-4 12:20:18 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.setStorageSync api invoke
2018-12-4 12:20:18 [log] wx.setStorageSync return
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.setStorageSync api invoke
2018-12-4 12:20:18 [log] wx.setStorageSync return
2018-12-4 12:20:18 [log] wx.setStorageSync api invoke
2018-12-4 12:20:18 [log] wx.setStorageSync return
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.getStorageSync api invoke
2018-12-4 12:20:18 [log] wx.getStorageSync return
本文网址:http://www.91bianli.com/weixinxiaochengxu/43573.html