Skip to content

Commit ca5e398

Browse files
Chadwuosendya
authored andcommitted
Update Register.vue
1 parent 7944e71 commit ca5e398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/user/Register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default {
152152
},
153153
methods: {
154154
handlePasswordLevel (rule, value, callback) {
155-
if (value === '') {
155+
if (!value) {
156156
return callback()
157157
}
158158
console.log('scorePassword ; ', scorePassword(value))

0 commit comments

Comments
 (0)