accept: {
title: 'Files',
extensions: 'gif,jpg,jpeg,bmp,png,pdf,doc,docx,txt,xls,xlsx,ppt,pptx,zip,mp3,mp4,text,csv',
mimeTypes: 'image/*,text/*'
//word
+',application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document'
//excel
+',application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
//ppt
+',application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation'
+',application/pdf'
+',application/zip'
+',application/csv'
},
swf: BASE_URL + "/Uploader.swf",
disableGlobalDnd: !0,
chunked: !0,
server: BASE_URL +"/fileupload.php",
fileNumLimit: 300,
fileSizeLimit: 5242880,
fileSingleSizeLimit: 1048576
}), n.addButton({
WebUploader 多种文件类型上传
最新推荐文章于 2024-08-17 10:46:01 发布