We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d3392 commit 3d2e394Copy full SHA for 3d2e394
demo/demo.js
@@ -209,8 +209,8 @@ function putObject() {
209
Key: filename, /* 必须 */
210
Body: fs.createReadStream(filepath), /* 必须 */
211
ContentLength: fs.statSync(filepath).size, /* 必须 */
212
- onProgress: function (processData, percent) {
213
- console.log(processData, percent);
+ onProgress: function (processData) {
+ console.log(JSON.stringify(progressData));
214
},
215
}, function (err, data) {
216
if (err) {
0 commit comments