浏览代码

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,