소스 검색

Update new-index.tsx

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

+ 2 - 2
src/tenant/music/music-detail/new-index.tsx

@@ -620,8 +620,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 || ''
         staffData.partList = musicDetail.value?.background || []
         staffData.partList.forEach((part: any) => {