fix: switch event trigger #3453 (#3454)

pull/3473/head
zkwolf 4 years ago committed by GitHub
parent efa477a3b0
commit f5026dd49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,8 +24,8 @@ const Switch = defineComponent({
defaultChecked: PropTypes.looseBool, defaultChecked: PropTypes.looseBool,
autofocus: PropTypes.looseBool, autofocus: PropTypes.looseBool,
loading: PropTypes.looseBool, loading: PropTypes.looseBool,
change: PropTypes.func, onChange: PropTypes.func,
click: PropTypes.func, onClick: PropTypes.func,
'onUpdate:checked': PropTypes.func, 'onUpdate:checked': PropTypes.func,
}, },
emits: ['change', 'click', 'update:checked'], emits: ['change', 'click', 'update:checked'],

Loading…
Cancel
Save