egg
egg copied to clipboard
上传图片,图片不全问题
ctx.getFileStream() 返回的 FileStream 中的__readableState 字段中的buffer中的BufferList head及tail 这两个的区别是什么?如果上传到第三方云服务器使用哪个字段呢 ?
Translation of this issue:
Uploading a picture, the picture is not complete
What is the difference between the BufferList head and the tail in the buffer in the __readableState field in the FileStream returned by ctx.getFileStream()? If using a field to upload to a third-party cloud server?
@egg-bot great
You can see this example https://github.com/eggjs/examples/tree/master/multipart