1. The front desk uses fileUpload.js to upload files. After uploading, click on the trash can to delete the picture.
does not seem to be using jquery.fileupload.js,. Below is part of the content of fileupload.js
/ * *
- Created by zxm on 2017
* /
$.fn.extend ({
"initUpload": function (opt) {
if (typeof opt != "object") {
alert("!");
return;
}
var uploadId = $(this).attr("id");
if (uploadId == null || uploadId == "") {
alert("id!");
}
$.each(uploadTools.getInitOption(uploadId), function (key, value) {
if (opt[key] == null) {
opt[key] = value;
}
});
uploadTools.initWithLayout(opt);//
uploadTools.initWithDrag(opt);//
uploadTools.initWithSelectFile(opt);//
uploadTools.initWithUpload(opt);//
uploadTools.initWithCleanFile(opt);
uploadFileList.initFileList(opt);
}
});