소스 검색

fix: add the missing callback of handlePasswordLevel

flakeice 4 년 전
부모
커밋
2f663728bf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) {