fix: avoid emit update:checked twice (#3866)

pull/3894/head
zkwolf 4 years ago committed by GitHub
parent db2e3599ff
commit 160f768008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,6 @@ export default defineComponent({
if ('checked' in props) {
this.$refs.input.checked = props.checked;
}
this.__emit('update:checked', eventObj);
this.__emit('change', eventObj);
this.eventShiftKey = false;
},

Loading…
Cancel
Save