关键字
antd 分片上传
html 文件api
前端大文件上传
阿里云 分片上传oss
https://help.aliyun.com/document_detail/84786.html
引用 https://segmentfault.com/q/1010000009304154/a-1020000010137079
-
如果文件较小,直接使用antd自带的upload
-
如果文件过大,需要把upload的beforeUploa的设定为false
-
之后进行文件切块处理,参考链接:https://www.genban.org/teach/teach-17154.html
简书
谈一谈大文件上传——前台分片和后台合并
https://www.jianshu.com/p/bfaad1323a4c
掘金
用JavaScript和Node.js实现文件分片上传
https://juejin.im/post/5db29beb5188256467245a7b
「HTML5」FileAPI 文件操作实战
https://juejin.im/post/5d35af63e51d454fa33b199e