瀏覽代碼

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) {