Skip to content

Commit

Permalink
chore: rmv logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanvier committed Feb 7, 2024
1 parent 35b88ef commit 46d9dd7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/runtime/composables/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ export const useFormValidator = () => {

if (!form.validator.rules[field]) {
return []
}

console.log(form.validator.rules);

}

form.validator.rules[field].forEach((rule: any) => {

console.log(rule);

const validator = validators[rule.$params.type as keyof typeof validators]

const type_rules = [ 'isEmail', 'isNumber' ]
Expand Down

0 comments on commit 46d9dd7

Please sign in to comment.