Explorar o código

fix: 阶段评测play评分bug修复

TIANYONG %!s(int64=2) %!d(string=hai) anos
pai
achega
45108793c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/subpages/colexiu/buttons/evaluating.tsx

+ 1 - 1
src/subpages/colexiu/buttons/evaluating.tsx

@@ -80,7 +80,7 @@ const formatTimes = () => {
   // 找到阶段评测,开始小节前面最近的是play或者listen的小节
   if (preTimes.length) {
     for (let index = preTimes.length-1; index >= 0; index--) {
-      const item = times[index]
+      const item = preTimes[index]
       const note = getNoteByMeasuresSlursStart(item)
       if (note.formatLyricsEntries.contains('Play') || note.formatLyricsEntries.contains('Play...')) {
         preLyricsContent = 'Play'