lex 1 рік тому
батько
коміт
4b87927612
1 змінених файлів з 2 додано та 2 видалено
  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(