fix(F006-W18): LoginView captcha URL 加 /api 前缀

This commit is contained in:
Sisyphus 2026-07-15 11:45:45 +08:00
parent eaeb9f1aef
commit 8be1fd3fba

View File

@ -45,7 +45,7 @@ const themePalette = [
function refreshCaptcha() {
form.uuid = Math.random().toString(36).slice(2, 12)
captchaUrl.value = `/auth/captcha?uuid=${form.uuid}&_t=${Date.now()}`
captchaUrl.value = `/api/auth/captcha?uuid=${form.uuid}&_t=${Date.now()}`
}
function onCaptchaInput(e: Event) {
const t = e.target as HTMLInputElement