未验证 提交 a4a12cab 编写于 作者: G gpYang 提交者: GitHub

登录失败后刷新验证码

防止被暴力破解
上级 19418b9b
...@@ -86,7 +86,8 @@ export default { ...@@ -86,7 +86,8 @@ export default {
async submitForm() { async submitForm() {
this.$refs.loginForm.validate(async v => { this.$refs.loginForm.validate(async v => {
if (v) { if (v) {
await this.login() this.login()
this.loginVefify()
} else { } else {
this.$message({ this.$message({
type: 'error', type: 'error',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册