diff --git a/web/components/FormFindPasswordStepOne.vue b/web/components/FormFindPasswordStepOne.vue index 6aa1037..a9182f2 100644 --- a/web/components/FormFindPasswordStepOne.vue +++ b/web/components/FormFindPasswordStepOne.vue @@ -89,6 +89,7 @@ export default { this.$message.success('提交成功,请查看您的邮箱') this.disabled = true } else { + this.loadCaptcha() this.$message.error(res.data.message || '请求失败') } this.loading = false diff --git a/web/components/FormFindPasswordStepTwo.vue b/web/components/FormFindPasswordStepTwo.vue index 67369cc..46c748a 100644 --- a/web/components/FormFindPasswordStepTwo.vue +++ b/web/components/FormFindPasswordStepTwo.vue @@ -117,6 +117,7 @@ export default { this.$router.push('/login') this.disabled = true } else { + this.loadCaptcha() this.$message.error(res.data.message || '请求失败') } this.loading = false diff --git a/web/components/FormLogin.vue b/web/components/FormLogin.vue index c4aad72..9c216f5 100644 --- a/web/components/FormLogin.vue +++ b/web/components/FormLogin.vue @@ -106,6 +106,7 @@ export default { } this.loading = false } else { + this.loadCaptcha() this.loading = false } }, diff --git a/web/components/FormRegister.vue b/web/components/FormRegister.vue index 8200535..affa9a2 100644 --- a/web/components/FormRegister.vue +++ b/web/components/FormRegister.vue @@ -206,6 +206,9 @@ export default { } else { this.$router.replace({ name: 'index' }) } + }else{ + this.loadCaptcha() + this.$message.error(res.data.message || '请求失败') } this.loading = false }