refactor: 修改验证码
This commit is contained in:
@@ -3,7 +3,7 @@ export const useCaptcha = () => {
|
|||||||
const t = ref(Date.now())
|
const t = ref(Date.now())
|
||||||
|
|
||||||
const codeUrl = computed(() => {
|
const codeUrl = computed(() => {
|
||||||
return baseUrl + '/captcha.html?t=' + t.value
|
return baseUrl + '/api/index/captcha?t=' + t.value
|
||||||
})
|
})
|
||||||
const refreshCode = () => {
|
const refreshCode = () => {
|
||||||
t.value = Date.now()
|
t.value = Date.now()
|
||||||
|
|||||||
Reference in New Issue
Block a user