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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.1.89-20-rongchuang-2",
3
+ "version": "3.1.89-20-rongchuang-3",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -273,15 +273,15 @@
273
273
  // 重连
274
274
  reconnect () {
275
275
  if (this.lockReconnect) return
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--
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()