Browse Source

修改链接

lex 8 tháng trước cách đây
mục cha
commit
c6fa46ac02
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      src/tenant/music/music-detail/new-index.tsx

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

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