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

登录失败后刷新验证码

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