我正在使用 ng-flow 上传图片。我想重置我的块大小。可以从前端吗?
问问题
1012 次
2 回答
0
<div flow-init="{query:{profile:profile,filedName: 'albums'},target: '/users/uploadPictures', testChunks:false,chunkSize:5*1024*1024}" flow-files-submitted="$flow.upload()" flow-file-success="getProvider()">
将chunkSize设置为所需大小
于 2016-01-04T12:05:15.320 回答
0
您是否尝试将forceChunkSize
参数设置为true
?
它不会重置大小,但会在整个时间内强制所有上传的大小相同。
于 2016-01-04T11:23:50.813 回答