Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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; |
-
Please register or login to post a comment