mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
修复webui快捷登录失败
This commit is contained in:
parent
3db74c3427
commit
0ca6343ed7
@ -92,9 +92,9 @@ napCatCore.getQuickLoginList().then((res) => {
|
|||||||
|
|
||||||
WebUiDataRuntime.setQQQuickLoginCall(async (uin: string) => {
|
WebUiDataRuntime.setQQQuickLoginCall(async (uin: string) => {
|
||||||
const QuickLogin: Promise<{ result: boolean, message: string }> = new Promise((resolve, reject) => {
|
const QuickLogin: Promise<{ result: boolean, message: string }> = new Promise((resolve, reject) => {
|
||||||
if (quickLoginQQ) {
|
if (uin) {
|
||||||
log('正在快速登录 ', quickLoginQQ);
|
log('正在快速登录 ', uin);
|
||||||
napCatCore.quickLogin(quickLoginQQ).then(res => {
|
napCatCore.quickLogin(uin).then(res => {
|
||||||
if (res.loginErrorInfo.errMsg) {
|
if (res.loginErrorInfo.errMsg) {
|
||||||
resolve({ result: false, message: res.loginErrorInfo.errMsg });
|
resolve({ result: false, message: res.loginErrorInfo.errMsg });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user