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

Commit

Permalink
fix(password): (#531) 修改密码时如果密码长度为16位无法修改成功的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Oct 9, 2018
1 parent 658be4d commit 7befebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/sign/Forgot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default {
this.$Message.error({ password: "密码长度必须大于6位" });
return;
}
if (!(password.length < 16)) {
if (password.length > 16) {
this.$Message.error({ password: "密码长度不得超过16位" });
return;
}
Expand Down

0 comments on commit 7befebe

Please sign in to comment.