Skip to content

Commit 1f3515c

Browse files
committed
fix x:val bug
1 parent cedf2a5 commit 1f3515c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/qiniu.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,7 @@ function QiniuJsSDK() {
509509
throw ('invalid json format');
510510
}
511511
var info_extended = {};
512-
plupload.extend(info_extended, res_downtoken, {
513-
key: that.parseJSON(info).key,
514-
hash: that.parseJSON(info).hash
515-
});
512+
plupload.extend(info_extended, that.parseJSON(info), res_downtoken);
516513
if (_FileUploaded_Handler) {
517514
_FileUploaded_Handler(up, file, JSON.stringify(info_extended));
518515
}

0 commit comments

Comments
 (0)