Skip to content

Commit

Permalink
[*] Fix loading bar suck on captcha logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Jan 13, 2025
1 parent 1fa7283 commit a1a35b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/auth/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ async function loadCaptcha() {
switch (rs.data.type) {
case 'turnstile':
showTurnstile.value = true
ldb.finish()
break
case 'vaptcha':
if (!vaptchaInserted) {
Expand All @@ -192,6 +193,7 @@ async function loadCaptcha() {
}
vaptchaInserted = true
} else showVAPTCHA.value = true
ldb.finish()
break
default:
message.error('后端返回数据错误')
Expand Down

0 comments on commit a1a35b1

Please sign in to comment.