进入uniapp

This commit is contained in:
2023-12-01 23:57:44 +08:00
parent a78893ea1f
commit d61f5e6c92
524 changed files with 88081 additions and 12 deletions

View File

@@ -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()