Browse Source

fix: add the missing callback of handlePasswordLevel

flakeice 4 năm trước cách đây
mục cha
commit
2f663728bf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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) {