var dropVar = this;
var mockFile = {
name: “myiamge.jpg”, //需要显示给用户的图片名
size: 12345, //图片尺寸
height:200,
width:200,
type: ‘.jpg,.png,.gif’//图片文件类型
};
dropVar.addFile.call (dropVar,mockFile);//添加mock图片到显示区域
dropVar.options.thumbnail.call (dropVar,mockFile,“http://localhost:8181/dsp-mgr/assets/images/logo.png”);//添加数据源给mock图片原来的图片放在DropZone preView区域

相关文章:

  • 2022-12-23
  • 2021-04-09
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
  • 2021-08-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-07-29
相关资源
相似解决方案