Skip to content

Commit 1eb19cc

Browse files
authored
Update demo.js
1 parent 0a5650d commit 1eb19cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ function uploadFile() {
12141214
var speed = Math.floor(info.speed / 1024 / 1024 * 100) / 100;
12151215
console.log('进度:' + percent + '%; 速度:' + speed + 'Mb/s;');
12161216
},
1217-
}, function (err, data) {{
1217+
}, function (err, data) {
12181218
console.log('上传' + (err ? '失败' : '完成'));
12191219
console.log(err || data);
12201220
fs.unlinkSync(filepath);

0 commit comments

Comments
 (0)