dropzone 的 "tick" 标记没有显示?

The "tick" mark of dropzone is not showing?

我一直在使用 dropzone 将图像文件上传到我的本地主机。一切正常,文件正在上传和保存,但是,进度条没有被刻度线代替。它留在那里。 这是截图

在这种情况下可能是什么问题,这是我的 dropzone 代码

 Dropzone.options.myAwesomeDropzone = {
        paramName: "userPhoto", // The name that will be used to transfer the file
        maxFilesize: 20, // MB
        maxFiles: 1,
        acceptedFiles: ".jpeg,.jpg",
        dictDefaultMessage: 'Drag an image here to upload, or click to select one',
        accept: function (file, done) {
           done();
        },

    };

在路线的尽头使用 res.end('File have been uploded')。使用 dropzone 时,如果未触发 res.end,它不会确认文件已上传。因此动画不工作