Skip to content

Commit

Permalink
fix: type为'array-buffer'时报错 (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf1996 authored Oct 13, 2024
1 parent 028c17c commit 4119929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/browser/src/file/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class UploadFile implements BaseUploadFile {
this.fileData.filename || '',
{ type: this.fileData.mimeType }
)
return
}

throw new Error('Unknown file type')
Expand Down

0 comments on commit 4119929

Please sign in to comment.