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 50ea81f commit 0a5650dCopy full SHA for 0a5650d
demo/demo.js
@@ -1214,10 +1214,8 @@ function uploadFile() {
1214
var speed = Math.floor(info.speed / 1024 / 1024 * 100) / 100;
1215
console.log('进度:' + percent + '%; 速度:' + speed + 'Mb/s;');
1216
},
1217
- onFileFinish: function (err, data, options) {
1218
- console.log(options.Key + ' 上传' + (err ? '失败' : '完成'));
1219
- },
1220
- }, function (err, data) {
+ }, function (err, data) {{
+ console.log('上传' + (err ? '失败' : '完成'));
1221
console.log(err || data);
1222
fs.unlinkSync(filepath);
1223
});
0 commit comments