fix(F006-W18): LoginView captcha URL 加 /api 前缀
This commit is contained in:
parent
eaeb9f1aef
commit
8be1fd3fba
@ -45,7 +45,7 @@ const themePalette = [
|
|||||||
|
|
||||||
function refreshCaptcha() {
|
function refreshCaptcha() {
|
||||||
form.uuid = Math.random().toString(36).slice(2, 12)
|
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) {
|
function onCaptchaInput(e: Event) {
|
||||||
const t = e.target as HTMLInputElement
|
const t = e.target as HTMLInputElement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user