Properties
Private $btnElem
$btnElem: JQuery<HTMLButtonElement>
Private $inputElemFile
$inputElemFile: JQuery<HTMLInputElement> | JQuery<HTMLButtonElement>
Private $previewElem
$previewElem: JQuery<HTMLButtonElement>
CompressImgMaxWidth
CompressImgMaxWidth: number
accept
acceptMime
acceptMime: string
auto
auto: boolean
Private barElemId
barElemId: string
bindAction
bindAction: string | JQuery<HTMLElement>
Private btnElemId
btnElemId: string
Private btnMobileId
btnMobileId: string
btnTitle
btnTitle: string
Private chooseFiles
chooseFiles: File[]
css
css: UploadCmpStyle
data
data: string
drag
drag: boolean
enckey
enckey: string = "89d3338d697f43a69b5089358010b769"
exts
exts: string
formMobile
formMobile: boolean
Private formindex
formindex: number
headers
headers: any
height
height: string
Private inputId
inputId: string
isCompressImg
isCompressImg: boolean
isEncrypt
isEncrypt: boolean
isFileName
isFileName: boolean
itemWidth
itemWidth: number
maxFileCount
maxFileCount: number
method
method: string
multiple
multiple: boolean
Protected onAllDoneScript
onAllDoneScript: string
Protected onBeforeScript
onBeforeScript: string
Protected onChooseScript
onChooseScript: string
Protected onDoneScript
onDoneScript: string
Protected onErrorScript
onErrorScript: string
Protected onProcessDataScript
onProcessDataScript: string
Private previewElemId
previewElemId: string
size
size: number
Private sse
sse: SseMsg[]
Private timer
timer: number
url
url: string
上传组件 数据库保存 格式是 IUploadFile[] 的字符串如: [{"newFileName":"xxx1","oldFileName":"xxxx2" },{ }]