chore: rename emit function
This commit is contained in:
parent
72e03f8109
commit
b48a893614
5 changed files with 11 additions and 11 deletions
|
@ -16,11 +16,11 @@ const props = withDefaults(defineProps<Props>(), {
|
|||
stencilSizePercentage: 0.9,
|
||||
})
|
||||
|
||||
const emits = defineEmits<{
|
||||
const emit = defineEmits<{
|
||||
(event: 'update:modelValue', value: File): void
|
||||
}>()
|
||||
|
||||
const vmFile = useVModel(props, 'modelValue', emits, { passive: true })
|
||||
const vmFile = useVModel(props, 'modelValue', emit, { passive: true })
|
||||
|
||||
const cropperDialog = ref(false)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue