Browse Source

fix: 评测报告切换节奏报错问题

TIANYONG 1 year ago
parent
commit
c72e05f976
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/subpages/colexiu-report/index.tsx

+ 1 - 1
src/subpages/colexiu-report/index.tsx

@@ -165,7 +165,7 @@ export default defineComponent({
             copySvg?.classList.add(colorsClass[errType])
             copySvg?.classList.add(colorsClass[errType])
             // stemEl?.classList.add(colorsClass.RIGHT)
             // stemEl?.classList.add(colorsClass.RIGHT)
             // @ts-ignore
             // @ts-ignore
-            osmd?.container.querySelector('svg')!.insertAdjacentElement('afterbegin', copySvg)
+            runtime.osmd?.container.querySelector('svg')!.insertAdjacentElement('afterbegin', copySvg)
             // svgEl?.parentElement?.appendChild(copySvg)
             // svgEl?.parentElement?.appendChild(copySvg)
           }
           }
         }, 300)
         }, 300)