原生node,接收ajax传过来的base64图片太大,被截断了是不是原生node在哪里做了大小限制了,在哪配置大小呢 ?相关代码 req.on("data",function(data){
var currentData = ""
currentData += data;
postData = qs.parse(currentData);//这里的postData没显示完全
saveImage(postData.smallImage,0)
saveImage(postData.bigImage,1) postData.smallImage = smallImageLink
postData.bigImage = bigImageLink postData.character = postData.character.split(',') addData(postData) });求大神帮帮忙
1 回答
开满天机
TA贡献1786条经验 获得超13个赞
var currentData = ""req.on("data",function(data){ currentData += data; }); req.on("end",function(data){ var postData = qs.parse(currentData); });
- 1 回答
- 0 关注
- 945 浏览
添加回答
举报
0/150
提交
取消