feat: function attribute typing
This commit is contained in:
parent
8fb00653e4
commit
332acf012c
17 changed files with 48 additions and 41 deletions
|
|
@ -53,7 +53,7 @@ export default defineComponent({
|
|||
},
|
||||
},
|
||||
methods: {
|
||||
updateData(checked) {
|
||||
updateData(checked: boolean) {
|
||||
this.checked = checked
|
||||
this.$emit('update:modelValue', checked)
|
||||
this.$emit('change', checked)
|
||||
|
|
|
|||
Reference in a new issue