fix: 二维码登录

修复在没找到登陆历史记录后不加载二维码的问题
This commit is contained in:
Alen 2024-08-14 10:32:39 +08:00
parent 8645a412b7
commit 7553aab932

View File

@ -183,6 +183,7 @@ export async function NCoreInitShell() {
}, 1000);
} else {
logger.logError('快速登录失败,未找到该 QQ 历史登录记录,将使用二维码登录方式');
loginService.getQRCodePicture();
}
} else {
logger.log('没有 -q 指令指定快速登录,将使用二维码登录方式');