瀏覽代碼

2022/3/11

zkl 4 年之前
父節點
當前提交
37708573d7
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      MingGaoApp/App.vue

+ 4 - 4
MingGaoApp/App.vue

@@ -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, '连接错误');
 					clearInterval(this.globalData.timeoutObj);
 					setTimeout(() => {
-						// that.reconnect();
-					}, 3000)
+						that.reconnect();
+					}, 5000)
 				})
 			},