0

我正在使用 ng-flow 上传图片。我想重置我的块大小。可以从前端吗?

4

2 回答 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 回答