自动刷新验证码

dev
truthhun 7 months ago
parent 4848758006
commit c64f739495

@ -89,6 +89,7 @@ export default {
this.$message.success('') this.$message.success('')
this.disabled = true this.disabled = true
} else { } else {
this.loadCaptcha()
this.$message.error(res.data.message || '') this.$message.error(res.data.message || '')
} }
this.loading = false this.loading = false

@ -117,6 +117,7 @@ export default {
this.$router.push('/login') this.$router.push('/login')
this.disabled = true this.disabled = true
} else { } else {
this.loadCaptcha()
this.$message.error(res.data.message || '') this.$message.error(res.data.message || '')
} }
this.loading = false this.loading = false

@ -106,6 +106,7 @@ export default {
} }
this.loading = false this.loading = false
} else { } else {
this.loadCaptcha()
this.loading = false this.loading = false
} }
}, },

@ -206,6 +206,9 @@ export default {
} else { } else {
this.$router.replace({ name: 'index' }) this.$router.replace({ name: 'index' })
} }
}else{
this.loadCaptcha()
this.$message.error(res.data.message || '')
} }
this.loading = false this.loading = false
} }

Loading…
Cancel
Save