|
@@ -103,5 +103,5 @@ export function getPercent( item ){
|
|
if( item.isFinish ) return 100;
|
|
if( item.isFinish ) return 100;
|
|
let percent = parseInt(item.position * 10000 / item.duration) / 100;
|
|
let percent = parseInt(item.position * 10000 / item.duration) / 100;
|
|
if( percent >= 100) return 99.99;
|
|
if( percent >= 100) return 99.99;
|
|
- return parseInt(item.position * 10000 / item.duration) / 100
|
|
|
|
|
|
+ return percent
|
|
}
|
|
}
|