소스 검색

fix: #节拍指针位置显示不准bug修复

TIANYONG 1 년 전
부모
커밋
5bc5515ac8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/pages/detail/helpers.ts

+ 2 - 0
src/pages/detail/helpers.ts

@@ -485,7 +485,9 @@ export const getAllNodes = (osmd: any) => {
             fixtime += difftime
           }
           //console.log('👀看看endtime', relaEndtime, fixtime, i)
+          const _noteLength = noteRealValue
           const nodeDetail = {
+            _noteLength,
             fixtime,
             skipMode,
             NoteToGraphicalNoteObjectId: note.NoteToGraphicalNoteObjectId,