install:: github:: docs:: https://docs.dropzone.dev/ 传递完整路径名或自定义数据 1Dropzone.autoDiscover = false;2var myDropzone = new Dropzone("#my-dropzone", {3 url: "/upload",4 dictDefaultMessage: "拖动文件夹进行上传",5 paramName: "中公",6});7 8myDropzone.on("sending", function (file, xhr, formData) {9 // get the original fullPath and add it to the multipart form.10 var blob = new Blob([file.fullPath], { type: "text/plain" });11 formData.append("originalPath", blob);12});