dropzone.js:1007 Uncaught Error: Dropzone already attached.

Dropzone.js的使用:https://www.blyoo.com/4989.html

加上这句

Dropzone.options.myAwesomeDropzone = false;

或者

Dropzone.autoDiscover = false;

// Prevent Dropzone from auto discovering this element:
Dropzone.options.myAwesomeDropzone = false;
// This is useful when you want to create the
// Dropzone programmatically later

// Disable auto discover for all elements:
Dropzone.autoDiscover = false;

参考:

https://www.dropzonejs.com/#create-dropzones-programmatically