️ 调整扫码登录逻辑

close #99
This commit is contained in:
目棃
2024-03-12 22:02:04 +08:00
parent cb8d12cc84
commit 16e550ee40
6 changed files with 127 additions and 74 deletions

View File

@@ -458,6 +458,9 @@ class TGClient {
}
await window.__TAURI__.event.emit('post_mhy_client',JSON.stringify(arg));
isLogin = true;
} else {
// 等待 500 ms
await new Promise((resolve) => setTimeout(resolve, 500));
}
}
})();`;