Skip to content

Commit

Permalink
feat(dropzone): fixed error File not defined in SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
adenvt committed Jul 29, 2022
1 parent 0d5c08b commit 776d6e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/dropzone/Dropzone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@
<script lang="ts">
import { templateRef } from '@vueuse/core'
import {
defineComponent, PropType, ref,
defineComponent,
PropType,
ref,
} from 'vue-demi'
import { useVModel } from '../input/use-input'
import accept from 'attr-accept'
const File = globalThis.File
export default defineComponent({
props: {
modelValue: {
Expand Down

0 comments on commit 776d6e4

Please sign in to comment.