소스 검색

修改链接

lex 1 년 전
부모
커밋
005563a933
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/music/music-detail/index.tsx

+ 2 - 2
src/views/music/music-detail/index.tsx

@@ -678,8 +678,8 @@ export default defineComponent({
           staffData.xmlPartList = partList
         }
 
-        staffData.iframeSrc = `${location.origin}/osmd/index.html`
-        // staffData.iframeSrc = `${location.origin}${location.pathname}osmd/index.html`
+        // staffData.iframeSrc = `${location.origin}/osmd/index.html`
+        staffData.iframeSrc = `${location.origin}${location.pathname}osmd/index.html`
         staffData.musicXml = musicDetail.value?.xmlFileUrl || ''
         const tempList = musicDetail.value?.background || []
         const tempPartList = [] as any