mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 11:07:41 +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
|
||||
}
|
||||
})
|
||||
.finally(() => captchaLoading.value = false)
|
||||
.finally(() => {
|
||||
captchaLoading.value = false
|
||||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
||||
const onSubmit = handleSubmit(() => {
|
||||
@ -198,6 +201,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
handlerInitialize()
|
||||
{
|
||||
this.loading = true
|
||||
this.refererCaptcha()
|
||||
}
|
||||
}
|
||||
|
@ -157,7 +157,10 @@ export default defineComponent({
|
||||
captchaImage.value = response.data.image
|
||||
}
|
||||
})
|
||||
.finally(() => captchaLoading.value = false)
|
||||
.finally(() => {
|
||||
captchaLoading.value = false
|
||||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
||||
const onSubmit = handleSubmit(() => {
|
||||
@ -193,6 +196,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
handlerInitialize()
|
||||
{
|
||||
this.loading = true
|
||||
this.refererCaptcha()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user