Skip to content

Commit

Permalink
fix: switch event trigger #3453 (#3454)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkwolf authored Dec 28, 2020
1 parent efa477a commit f5026dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const Switch = defineComponent({
defaultChecked: PropTypes.looseBool,
autofocus: PropTypes.looseBool,
loading: PropTypes.looseBool,
change: PropTypes.func,
click: PropTypes.func,
onChange: PropTypes.func,
onClick: PropTypes.func,
'onUpdate:checked': PropTypes.func,
},
emits: ['change', 'click', 'update:checked'],
Expand Down

0 comments on commit f5026dd

Please sign in to comment.