简体   繁体   English

帆帆船长的替代上传?

[英]Alternative of sails-skipper for upload?

I have a big issue with sails-skipper . 我对帆板滑手有个大问题。 Sometimes it work fine, but mostly when i post the file(with meta fields) then it flushes out body. 有时它可以正常工作,但是大多数情况下,当我发布文件(带有meta字段)时,它会冲洗掉正文。 console.log(req.body) prints {} . console.log(req.body)打印{}

I have posted this issue here #138 . 我已经在#138上发布了此问题

Is there any other library which works fine with sails ? 是否有其他可以配合帆使用的图书馆?

I find a name multer , is it good and how to implement it in sails ? 我找到一个名字multer ,这很好吗?如何在航行中实现它?

There are connect-multipart , busboy , formidable . connect-multipartbusboyformidable I've tried some of them, but reverted back to skipper . 我已经尝试了其中的一些,但又恢复为skipper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM