y595705120 3 éve
szülő
commit
9b7748abc4
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/utils/index.js

+ 1 - 1
src/utils/index.js

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