Fine uploader, idiomatic way to add download button to each file uploaded

喜夏-厌秋 提交于 2019-12-06 08:48:00
  1. Add an anchor link to your template somewhere inside the <li>.
  2. Listen for qq.status.UPLOAD_SUCCESS status changes.
  3. On success, update the anchor link to point to the appropriate download endpoint. You can find the anchor link for a specific file using getItemByFileId.

You'll need to be sure your server returns the proper Content-Disposition header when responding to a download GET request.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!