commit
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
this.isSubscribed = true
|
||||
this.sendJoinMessage()
|
||||
}
|
||||
}, 2000)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
// 事件处理
|
||||
@@ -243,9 +243,9 @@
|
||||
if (this.ws.readyState === WebSocket.OPEN) {
|
||||
this.sendJoinMessage()
|
||||
}
|
||||
}, 1000)
|
||||
}, 500)
|
||||
}
|
||||
}, 3000) // 延迟3秒重连
|
||||
}, 2000) // 延迟2秒重连
|
||||
}
|
||||
|
||||
// 窗口事件处理
|
||||
|
||||
Reference in New Issue
Block a user