Skip to content

Commit

Permalink
Fix accept on iOS (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSpicyBurrito authored Oct 12, 2024
1 parent 9146aee commit bfc57e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ const onClose = () => {

<VFileField v-model="cover" label="Cover" accept="image/*" />

<VFileField v-model="bgm" label="Bgm" accept="audio/*" />
<VFileField v-model="bgm" label="Bgm" />

<VFileField v-model="preview" label="Preview" accept="audio/*" />
<VFileField v-model="preview" label="Preview" />

<VTextAreaField
v-model="description"
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/VFileField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import VField from './VField.vue'
defineProps<{
label: string
accept: string
accept?: string
}>()
const modelValue = defineModel<File | undefined>({ required: true })
Expand Down

0 comments on commit bfc57e5

Please sign in to comment.