Properties
Optional accept
accept: string
Optional elem
elem: HTMLElement
Optional file
file: File
Optional headers
headers: any
Optional isMultiple
isMultiple: boolean
Optional onBefore
onBefore: Function
Optional onError
onError: (err: any) => void
Optional onSuccess
onSuccess: (res: any) => void
Optional onUploading
onUploading: (percent: any) => void
Optional url
url: string
上传的文件配置