微信api :wx.onNetworkStatusChange 监网络状态变化 详情:https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.onNetworkStatusChange.html
代码如下 app.js
isGetUsering:false //默认为false
netWorkType: 'none',//默认为none
onLaunch 调用 Baserefresh



微信api :wx.onNetworkStatusChange 监网络状态变化 详情:https://developers.weixin.qq.com/miniprogram/dev/api/device/network/wx.onNetworkStatusChange.html
代码如下 app.js
isGetUsering:false //默认为false
netWorkType: 'none',//默认为none
onLaunch 调用 Baserefresh
本文标题:小程序断网后重新联网后如何自动刷新页面
本文链接:https://www.haomeiwen.com/subject/vpxorctx.html
网友评论