dropzone显示现有文件未完全显示

时间:2019-06-13 11:13:04

标签: dropzone

$.each(thumbnailUrls, function(index, val) {
  console.log(val['filename'])
  var mockFile = {
    name: val['filename'],
    size: 12345543,
    type: 'image/jpeg',
    status: Dropzone.ADDED,
    url: '/images/'+val['filename']
  };
  myDropzone.emit("addedfile", mockFile);
  myDropzone.emit("thumbnail", mockFile, 'http://laravel-admin.local/images/'+val['filename']);
  myDropzone.emit('complete', mockFile);
  myDropzone.files.push(mockFile);
});

enter image description here

图片已显示,但未完全显示

0 个答案:

没有答案