进入uniapp
This commit is contained in:
@@ -227,9 +227,10 @@ export class ImClient {
|
||||
if (typeof imClient.listeners.onSocketReConnectEvent === 'function') {
|
||||
imClient.listeners.onSocketReConnectEvent();
|
||||
}
|
||||
//TODO
|
||||
// 重连10次
|
||||
for (let index = 0; index < 10; index++) {
|
||||
await sleep(3)
|
||||
for (let index = 0; index < 10000000; index++) {
|
||||
await sleep(5)
|
||||
try {
|
||||
log.info("try to relogin")
|
||||
// let { success, err } = await this.login()
|
||||
|
||||
Reference in New Issue
Block a user