Authored by 周少峰

'round'

@@ -1002,7 +1002,7 @@ @@ -1002,7 +1002,7 @@
1002 }, 1002 },
1003 } 1003 }
1004 uploader.on('media_progress', function (info) { 1004 uploader.on('media_progress', function (info) {
1005 - self.videoUploaderInfo.progress = info.percent; 1005 + self.videoUploaderInfo.progress = Math.round(info.percent);
1006 }) 1006 })
1007 uploader.on('media_upload', function (info) { 1007 uploader.on('media_upload', function (info) {
1008 self.videoUploaderInfo.isVideoUploadSuccess = true; 1008 self.videoUploaderInfo.isVideoUploadSuccess = true;