问题:线上小程序,部分手机打开后,不限授权弹窗,不能执行任何操作,页面白屏,只显示出静态部分,而且CDN的图片也都加载不出来;从用户日志中看到小程序没有执行任何wx的api。
删除小程序,重新搜索,依然是白屏。
<br/>
请问大神们,有遇到过这样的情况吗?
-
线上小程序基础版最低版本设置为:1.9.9;
-
代码内使用了,ES7 async await,上传线上代码是没有勾线ES6转ES5
<br/>
日志:
- 出现白屏的日志:
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
- 正常显示的日志:
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
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] wx.request api invoke with seq 0
2018-12-4 12:20:18 [log] App onLaunch have been invoked
2018-12-4 12:20:18 [log] App onShow have been invoked
2018-12-4 12:20:18 [log] wx.canIUse api invoke
…
2018-12-4 12:20:41 [log] wx.request api invoke with seq 0
2018-12-4 12:20:43 [log] wx.request api invoke with seq 0
2018-12-4 12:20:43 [log] wx.navigateTo api invoke
2018-12-4 12:20:43 [log] wx.getStorageSync api invoke
2018-12-4 12:20:43 [log] wx.getStorageSync return
2018-12-4 12:20:43 [log] wx.getStorageSync api invoke
2018-12-4 12:20:43 [log] wx.getStorageSync return
2018-12-4 12:20:43 [log] wx.request api invoke with seq 0
2018-12-4 12:20:43 [log] page pages/login/login onLoad have been invoked
2018-12-4 12:20:43 [log] page pages/login/login onShow have been invoked
2018-12-4 12:20:44 [log] page pages/login/login onReady have been invoked
截图: