@@ -135,8 +135,8 @@
console.log(res, '连接关闭');
clearInterval(this.globalData.timeoutObj);
setTimeout(() => {
- // that.reconnect();
- }, 3000)
+ that.reconnect();
+ }, 5000)
})
// 连接失败
@@ -144,8 +144,8 @@
console.log(res, '连接错误');
},