mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-04 19:19:01 +08:00
up
This commit is contained in:
parent
1956944c76
commit
946beb4f36
1
.github/workflows/docker-build.yml
vendored
1
.github/workflows/docker-build.yml
vendored
@ -13,6 +13,7 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- '.gitignore'
|
- '.gitignore'
|
||||||
|
- '.github/workflows/clean-up.yml'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -127,7 +127,8 @@ async function checkStatus(sid) {
|
|||||||
setTimeout(() => checkStatus(sid), 2000)
|
setTimeout(() => checkStatus(sid), 2000)
|
||||||
} else if (data.status === "LoginFailed") {
|
} else if (data.status === "LoginFailed") {
|
||||||
message.error('登录失败,请刷新页面重试')
|
message.error('登录失败,请刷新页面重试')
|
||||||
location.reload()
|
} else if (data.status === "QRCodeExpired") {
|
||||||
|
message.error('链接过期,请刷新页面重试')
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => checkStatus(sid), 2000)
|
setTimeout(() => checkStatus(sid), 2000)
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ export interface TokenResponseEncrypt extends ApiResponse<{
|
|||||||
}> {}
|
}> {}
|
||||||
|
|
||||||
export interface QrCodeStatus {
|
export interface QrCodeStatus {
|
||||||
status: 'WaitLogin' | 'LoginSuccess' | 'LoginFailed';
|
status: 'WaitLogin' | 'LoginSuccess' | 'QRCodeExpired' | 'ScanSuccess' | 'LoginFailed';
|
||||||
authCode?: string;
|
authCode?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user