小程序用websocket,IOS和开发者工具能连上,安卓连不上
uni.onSocketError(function(res) {
console.log('WebSocket连接打开失败,请检查!');
console.log("res:",res)
that.isSocketConnecting = false
})
uni.onSocketError(function(res) {
console.log('WebSocket连接打开失败,请检查!');
console.log("res:",res)
that.isSocketConnecting = false
})