Browse Source

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

TIANYONG 1 year ago
parent
commit
5bc5515ac8
1 changed files with 2 additions and 0 deletions
  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,