Sfoglia il codice sorgente

登录失败刷新验证码

master
王饶冀 3 anni fa
parent
commit
24199d9d19

+ 6
- 0
digital-park-web/digital-park/src/views/login/LoginFrom/LoginFrom.vue Vedi File

@@ -486,11 +486,13 @@ export default {
this.loginMethodChange(1);
} else {
sendMsg(0, data.msg);
this.getVerificationCode();
}
this.loginLoading = false;
})
.catch((err) => {
sendMsg(0, "修改失败");
this.getVerificationCode();
console.log(err);
this.loginLoading = false;
});
@@ -510,11 +512,13 @@ export default {
this.loginSuccessFn();
} else {
sendMsg(0, data.msg);
this.getVerificationCode();
}
this.loginLoading = false;
})
.catch((err) => {
sendMsg(0, "登录失败");
this.getVerificationCode();
console.log(err);
this.loginLoading = false;
});
@@ -549,12 +553,14 @@ export default {
this.loginSuccessFn();
} else {
sendMsg(0, data.msg);
this.getVerificationCode();
}
this.loginLoading = false;
})
.catch((err) => {
sendMsg(0, "注册失败");
console.log(err);
this.getVerificationCode();
this.loginLoading = false;
});
},

Loading…
Annulla
Salva