mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-02 12:07:37 +08:00
[Core] [User] Fix user login registration loading status
This commit is contained in:
parent
b6b6076a1d
commit
d42854eeeb
@ -143,7 +143,10 @@ export default defineComponent({
|
|||||||
captchaImage.value = response.data.image
|
captchaImage.value = response.data.image
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.finally(() => captchaLoading.value = false)
|
.finally(() => {
|
||||||
|
captchaLoading.value = false
|
||||||
|
loading.value = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const onSubmit = handleSubmit(() => {
|
const onSubmit = handleSubmit(() => {
|
||||||
@ -198,6 +201,7 @@ export default defineComponent({
|
|||||||
methods: {
|
methods: {
|
||||||
handlerInitialize()
|
handlerInitialize()
|
||||||
{
|
{
|
||||||
|
this.loading = true
|
||||||
this.refererCaptcha()
|
this.refererCaptcha()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,10 @@ export default defineComponent({
|
|||||||
captchaImage.value = response.data.image
|
captchaImage.value = response.data.image
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.finally(() => captchaLoading.value = false)
|
.finally(() => {
|
||||||
|
captchaLoading.value = false
|
||||||
|
loading.value = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const onSubmit = handleSubmit(() => {
|
const onSubmit = handleSubmit(() => {
|
||||||
@ -193,6 +196,7 @@ export default defineComponent({
|
|||||||
methods: {
|
methods: {
|
||||||
handlerInitialize()
|
handlerInitialize()
|
||||||
{
|
{
|
||||||
|
this.loading = true
|
||||||
this.refererCaptcha()
|
this.refererCaptcha()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user