refactor: 修改验证码

This commit is contained in:
anonymous
2025-01-09 16:06:52 +08:00
parent ffb887f3bf
commit 5ba0155b0b
+1 -1
View File
@@ -3,7 +3,7 @@ export const useCaptcha = () => {
const t = ref(Date.now())
const codeUrl = computed(() => {
return baseUrl + '/captcha.html?t=' + t.value
return baseUrl + '/api/index/captcha?t=' + t.value
})
const refreshCode = () => {
t.value = Date.now()