wx.onNetworkStatusChange()

console.log(“1111”)
wx.onNetworkStatusChange(function (res) {
console.log(“网络连接”)
console.log(res.isConnected)
console.log(res.networkType)
})
1111已经打印但是就是进不去onNetworkStatusChange(的回调