initialPreview怎么用啊,没效果的
$(".file").fileinput({
showPreview : true,
showUpload : true,
allowedFileExtensions : ['jpg', 'png','gif'],
initialPreview: [
"<img src='http://xxx/1.png' class='file-preview-image' />",
"<img src='http://xxx/2.png' class='file-preview-image' />",
]
});
回复
这个本人已经完全参透 非常好用 鼎力推荐
一直在用,挺好用的