Skip to content

Commit e4dc7a7

Browse files
winddiesnighca
winddies
authored andcommitted
解决上传大于4m报701 (#338)
1 parent 4f0bfe9 commit e4dc7a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "qiniu-js",
33
"jsName": "qiniu",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"private": false,
66
"description": "Javascript SDK for Qiniu Resource (Cloud) Storage AP",
77
"main": "dist/qiniu.min.js",

src/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export class UploadManager {
193193
}).then(response => {
194194
this.ctxList[index] = {
195195
time: new Date().getTime(),
196-
ctx: response.ctx
196+
ctx: response.data.ctx
197197
};
198198
});
199199
});

0 commit comments

Comments
 (0)