panhui 4 years ago
parent
commit
4749e1b9df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/vue/src/views/performance/ProgrammeScoreList.vue

+ 2 - 2
src/main/vue/src/views/performance/ProgrammeScoreList.vue

@@ -608,9 +608,9 @@ export default {
             });
 
             this.scoreType = info ? info.value : 'D';
-            let score = row.myScore * 100;
+            let score = (row.myScore * 100).toString();
 
-            this.scoreValue = [Math.ceil(score / 100), Math.ceil((score % 100) / 10), score % 10];
+            this.scoreValue = [Number(score.substr(0, 2)), Number(score.substr(2, 1)), Number(score.substr(3, 1))];
         },
         move(direction) {
             const end = direction + this.index;