system-clients 3.1.89-20-rongchuang-2 → 3.1.89-20-rongchuang-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package-lock.json +10508 -0
- package/package.json +1 -1
- package/src/components/Main.vue +9 -9
package/package.json
CHANGED
package/src/components/Main.vue
CHANGED
@@ -273,15 +273,15 @@
|
|
273
273
|
// 重连
|
274
274
|
reconnect () {
|
275
275
|
if (this.lockReconnect) return
|
276
|
-
if (this.$connectNumber <= 0) {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
}
|
284
|
-
this.$connectNumber--
|
276
|
+
// if (this.$connectNumber <= 0) {
|
277
|
+
// vue.showMessage('连接已断开,将无法接收消息,请重新登录', ['confirm']).then((res) => {
|
278
|
+
// if (res === 'confirm') {
|
279
|
+
// location.reload()
|
280
|
+
// }
|
281
|
+
// })
|
282
|
+
// return
|
283
|
+
// }
|
284
|
+
// this.$connectNumber--
|
285
285
|
setTimeout(() => {
|
286
286
|
console.log('连接异常,尝试重新连接。。。。')
|
287
287
|
this.initWebSocket()
|