Skip to content

Commit

Permalink
refactor(useVModel): remove redundant binding on event (#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
objectisundefined committed May 9, 2023
1 parent 0b253bb commit 7c54c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useVModel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function useVModel<P extends object, K extends keyof P, Name extends stri
}
}

event = eventName || event || `update:${key!.toString()}`
event = event || `update:${key!.toString()}`

const cloneFn = (val: P[K]) => !clone
? val
Expand Down

0 comments on commit 7c54c36

Please sign in to comment.