Constructors
constructor
-
Parameters
Properties
accept
accept: string
action
action: string
activeColor
activeColor: string
autoUpload
autoUpload: boolean
beforeRemove
beforeRemove: string
beforeUpload
beforeUpload: string
css
css: ElUploadStyle
data
data: string
domName
domName: string
drag
drag: boolean
fileList
fileList: any[]
headers
headers: object
httpRequest
httpRequest: string
inactiveColor
inactiveColor: string
isTip
isTip: boolean
limit
limit: number
listType
multiple
multiple: boolean
onChange
onChange: string
onError
onError: string
onExceed
onExceed: string
onProgress
onProgress: string
onRemove
onRemove: string
onSuccess
onSuccess: string
showFileList
showFileList: boolean
tip
tip: string
validateEvent
validateEvent: boolean
withCredentials
withCredentials: boolean
Methods
Protected addFile
- addFile(file: IUploadFile): void
-
Parameters
Returns void
Protected addFiles
- addFiles(files: IUploadFile[]): void
-
Parameters
Returns void
doGetClassName
-
Returns any
doGetCss
- doGetCss(): ElUploadStyle
-
Returns ElUploadStyle
doGetMethods
- doGetMethods(): {} & {} & { handleOnPreview: any }
-
Returns {} & {} & { handleOnPreview: any }
doGetVueData
-
Returns object
doGetVueHtml
-
Returns string
getAttrEditors
- getAttrEditors(): AttributeEditorBase[]
-
Returns AttributeEditorBase[]
getInputElem
- getInputElem(): JQuery<HTMLElement>
-
Returns JQuery<HTMLElement>
getUploadValue
- getUploadValue(): IUploadFile[]
-
Returns IUploadFile[]
返回数组
Protected getVueUploadVal
- getVueUploadVal(): IElUpload[]
-
Returns IElUpload[]
返回数组
hookMethodhandleParams
- hookMethodhandleParams(attr: string, argArray: any): any[]
-
Parameters
-
attr: string
-
argArray: any
Returns any[]
Protected removeFile
- removeFile(fileName: any): void
-
Parameters
Returns void
Upload 上传 https://element.eleme.cn/#/zh-CN/component/upload