Browse Source

fix: add the missing callback of handlePasswordLevel

flakeice 4 years ago
parent
commit
2f663728bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/user/Register.vue

+ 2 - 0
src/views/user/Register.vue

@@ -172,6 +172,8 @@ export default {
       }
       this.state.passwordLevel = this.state.level
       this.state.percent = this.state.level * 33
+
+      callback()
     },
 
     handlePasswordCheck (rule, value, callback) {