Skip to content

Commit

Permalink
fix: type check
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Dec 15, 2024
1 parent db3626c commit 6586ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CodemirrorEditor/UploadImgDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ function onDrop(e: DragEvent) {
:class="{
'border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50': dragover,
}"
@click="open"
@click="open()"
@drop.prevent="onDrop"
@dragover.prevent="dragover = true"
@dragleave.prevent="dragover = false"
Expand Down

0 comments on commit 6586ee2

Please sign in to comment.