浏览代码

登录失败刷新验证码

master
王饶冀 3 年前
父节点
当前提交
24199d9d19
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      digital-park-web/digital-park/src/views/login/LoginFrom/LoginFrom.vue

+ 6
- 0
digital-park-web/digital-park/src/views/login/LoginFrom/LoginFrom.vue 查看文件

@@ -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;
});
},

正在加载...
取消
保存