Explorar el Código

Update Register.vue

micahh28 hace 2 años
padre
commit
ca5e398d4e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/user/Register.vue

+ 1 - 1
src/views/user/Register.vue

@@ -152,7 +152,7 @@ export default {
   },
   methods: {
     handlePasswordLevel (rule, value, callback) {
-      if (value === '') {
+      if (!value) {
        return callback()
       }
       console.log('scorePassword ; ', scorePassword(value))