Skip to content

Commit 4119929

Browse files
authored
fix: type为'array-buffer'时报错 (#676)
1 parent 028c17c commit 4119929

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/browser/src/file/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export class UploadFile implements BaseUploadFile {
3636
this.fileData.filename || '',
3737
{ type: this.fileData.mimeType }
3838
)
39+
return
3940
}
4041

4142
throw new Error('Unknown file type')

0 commit comments

Comments
 (0)