lex hace 1 año
padre
commit
4b87927612
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/tenant/music/music-detail/new-index.tsx

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

@@ -589,8 +589,8 @@ export default defineComponent({
     const osmdPreviewRef = ref()
     /** 渲染五线谱 */
     const renderStaff = () => {
-      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.instrumentName = getInstrumentName(