perf: add checkbox events declare

close #3440
feat-less4
tangjinzhou 4 years ago
parent 3c5c6becbf
commit 8baf85f7f9

@ -27,7 +27,7 @@ export default defineComponent({
onChange: PropTypes.func,
'onUpdate:checked': PropTypes.func,
},
emits: ['change', 'update:checked'],
setup() {
return {
configProvider: inject('configProvider', defaultConfigProvider),

@ -25,6 +25,7 @@ export default defineComponent({
disabled: PropTypes.looseBool,
onChange: PropTypes.func,
},
emits: ['change', 'update:value'],
setup() {
return {
configProvider: inject('configProvider', defaultConfigProvider),

Loading…
Cancel
Save