Parcourir la source

Update new-index.tsx

lex il y a 1 an
Parent
commit
d50c3606a2
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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) => {