@zhike/axios-upload
Advanced tools
Comparing version
@@ -18,2 +18,5 @@ 'use strict'; | ||
// axios 没有固定这个值导致follow-redirects包使用默认值10M,无法上传较大的文件 | ||
config.maxContentLength = 1024 * 1024 * 100; | ||
config.transformRequest = [(data, headers) => { | ||
@@ -20,0 +23,0 @@ let form = new FormData(); |
{ | ||
"name": "@zhike/axios-upload", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "基于axios上传表单数据", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3197
5.2%54
3.85%