mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
refactor(components): [upload] fix the type of file (#13637)
change the type of UploadRequestOptions.file from File to UploadRawFile
This commit is contained in:
parent
4e7f9b908b
commit
708f6ab5b8
@ -22,7 +22,7 @@ export interface UploadRequestOptions {
|
||||
method: string
|
||||
data: Record<string, string | Blob | [string | Blob, string]>
|
||||
filename: string
|
||||
file: File
|
||||
file: UploadRawFile
|
||||
headers: Headers | Record<string, string | number | null | undefined>
|
||||
onError: (evt: UploadAjaxError) => void
|
||||
onProgress: (evt: UploadProgressEvent) => void
|
||||
|
Loading…
Reference in New Issue
Block a user