Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
分片大小
Browse files Browse the repository at this point in the history
  • Loading branch information
Sloaix committed Jun 2, 2017
1 parent fc33076 commit 3a54375
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 23 deletions.
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qiniu4js",
"version": "1.0.11",
"version": "1.0.12",
"description": "Maybe is the best js sdk for qiniu",
"homepage": "https://www.gihub.com/lsxiao/qiniu4js",
"repository": "lsxiao/qiniu4js",
Expand Down
20 changes: 10 additions & 10 deletions dist/qiniu4js.es.js

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions dist/qiniu4js.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/qiniu4js.min.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/types/upload/UploaderBuilder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ declare class UploaderBuilder {
* @returns {UploaderBuilder}
*/
retry(retry: number): UploaderBuilder;
/**
* 设置分片大小
* @param size 分块大小,单位字节,默认4*1024*1024字节(4mb)
* @returns {UploaderBuilder}
*/
size(size: number): UploaderBuilder;
/**
* 选择文件后,是否自动上传
* @param auto 默认true
Expand Down

0 comments on commit 3a54375

Please sign in to comment.