浏览代码

修改链接

lex 8 月之前
父节点
当前提交
c6fa46ac02
共有 1 个文件被更改,包括 6 次插入6 次删除
  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