微信小程序页面显示白屏 部分用户使用小程序时,会出现白屏情况,手机型号、版本型号等都查过,没有发现特殊原因,同一台手机和同一个微信,前几天访问没有问题,在没有更新升级小程序情况下,突然就显示白屏,不知道是什么原因
为什么用户进入小程序白屏?这是相关的日志信息,看日志发现用户没有走App生命周期,直接跳到了我们第一个页面 pages/map/map: [图片] 2023-8-6 21:54:46 [log] page pages/map/map onLoad have been invoked 2023-8-6 21:54:46 [log] page pages/map/map onShow have been invoked 2023-8-6 21:54:46 [log] page pages/map/map onReady have been invoked 2023-8-6 21:54:48 [log] wx.getNetworkType api invoke 2023-8-6 21:54:48 [log] wx.onNetworkStatusChange api invoke 2023-8-6 21:54:48 [log] wx.getNetworkType success callback with msg getNetworkType:ok 2023-8-6 21:54:50 [log] page pages/map/map onUnload have been invoked 2023-8-6 21:54:50 [log] page pages/map/map onLoad have been invoked 2023-8-6 21:54:50 [log] page pages/map/map onShow have been invoked 2023-8-6 21:54:50 [log] page pages/map/map onReady have been invoked 2023-8-6 21:55:13 [log] page pages/map/map onHide have been invoked 2023-8-6 21:55:40 [log] page pages/map/map onShow have been invoked 2023-8-6 21:55:43 [log] page pages/map/map onHide have been invoked 2023-8-6 21:55:52 [log] page pages/map/map onUnload have been invoked 2023-8-6 21:55:52 [log] page pages/map/map onLoad have been invoked 2023-8-6 21:55:52 [log] page pages/map/map onShow have been invoked 2023-8-6 21:55:52 [log] page pages/map/map onReady have been invoked 2023-8-6 21:56:2 [log] page pages/map/map onHide have been invoked 2023-8-6 21:56:2 [log] page pages/map/map onShow have been invoked 2023-8-6 21:56:5 [log] page pages/map/map onHide have been invoked 2023-8-6 21:56:22 [log] page pages/map/map onShow have been invoked 2023-8-6 21:56:24 [log] page pages/map/map onHide have been invoked 2023-8-6 21:56:31 [log] page pages/map/map onUnload have been invoked 2023-8-6 21:56:31 [log] page pages/map/map onLoad have been invoked 2023-8-6 21:56:31 [log] page pages/map/map onShow have been invoked 2023-8-6 21:56:32 [log] page pages/map/map onReady have been invoked 2023-8-6 21:56:36 [log] page pages/map/map onHide have been invoked
11-07