mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs(components): [upload] correct the type of the file field (#22408)
This commit is contained in:
@@ -183,7 +183,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user