From 0ca6343ed7318198d88906e8f05964eb9f8547fa Mon Sep 17 00:00:00 2001 From: Nepenthe Date: Sun, 4 Aug 2024 13:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwebui=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 51cb42ef..8bd18fde 100644 --- a/src/index.ts +++ b/src/index.ts @@ -92,9 +92,9 @@ napCatCore.getQuickLoginList().then((res) => { WebUiDataRuntime.setQQQuickLoginCall(async (uin: string) => { const QuickLogin: Promise<{ result: boolean, message: string }> = new Promise((resolve, reject) => { - if (quickLoginQQ) { - log('正在快速登录 ', quickLoginQQ); - napCatCore.quickLogin(quickLoginQQ).then(res => { + if (uin) { + log('正在快速登录 ', uin); + napCatCore.quickLogin(uin).then(res => { if (res.loginErrorInfo.errMsg) { resolve({ result: false, message: res.loginErrorInfo.errMsg }); }