Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: (issue #444) 注册输入错误的验证码后按钮从忙时状态恢复
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jun 13, 2018
1 parent a905620 commit ef6c00f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/page/signup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,11 @@ export default {
this.$router.push("/signin");
}
})
.catch(({ response: { data: { errors = {} } = {} } = {} }) => {
this.$Message.error(errors);
.catch(err => {
this.loading = false;
this.disable = true;
console.warn(err);
// this.$Message.error(errors); // 已经弹出过 message 了
});
},
changeType() {
Expand Down

0 comments on commit ef6c00f

Please sign in to comment.