📜  成功放置所有文件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:45.080000             🧑  作者: Mango

代码示例1
Dropzone.options.filedrop = {
  init: function () {
    this.on("complete", function (file) {
      if (this.getUploadingFiles().length === 0 && this.getQueuedFiles().length === 0) {
        doSomething();
      }
    });
  }
};