mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-04 11:12:14 +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:
|
||||
- 'README.md'
|
||||
- '.gitignore'
|
||||
- '.github/workflows/clean-up.yml'
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
@ -127,7 +127,8 @@ async function checkStatus(sid) {
|
||||
setTimeout(() => checkStatus(sid), 2000)
|
||||
} else if (data.status === "LoginFailed") {
|
||||
message.error('登录失败,请刷新页面重试')
|
||||
location.reload()
|
||||
} else if (data.status === "QRCodeExpired") {
|
||||
message.error('链接过期,请刷新页面重试')
|
||||
} else {
|
||||
setTimeout(() => checkStatus(sid), 2000)
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ export interface TokenResponseEncrypt extends ApiResponse<{
|
||||
}> {}
|
||||
|
||||
export interface QrCodeStatus {
|
||||
status: 'WaitLogin' | 'LoginSuccess' | 'LoginFailed';
|
||||
status: 'WaitLogin' | 'LoginSuccess' | 'QRCodeExpired' | 'ScanSuccess' | 'LoginFailed';
|
||||
authCode?: string;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user