Reach fileSize limit
原因:里面用到了 multipart模块上传图片
- egg.js上传图片提交数据提示 Reach fields limit (code: Request_fields_limit)主要是 multipart模块默认的数量是10
- multipart插件支持的最大提交的表单数量支持的是10
解决:修改 config.default.js配置{
"src": "",
"name": "电影.zip",
"size": 131446287,
"type": "application/zip",
"ext": "zip",
"status": "error",
"taskId": "u6473d5f8-c72b-43c9-b595-1b9891c97ed",
"taskType": "upload",
"message": "Reach fileSize limit"
}
exports.multipart = {
fields:'100'
};