vue-simple-uploader自定义参数
processParams 处理请求参数,默认 function (params) {return params},一般用于修改参数名字或者删除参数。0.5.2版本后,processParams 会有更多参数:(params, Uploader.File, Uploader.Chunk, isTest)
options: {
processParams:(file)=>{
return {
currentNumber:file.chunkNumber,
currentSize:file.chunkSize,
totalChunk:file.totalChunks,
totalSize:file.totalSize,
chunkSize:file.chunkSize,
identifier:file.identifier,
}
},
}