浏览代码

feat: 修改

TIANYONG 3 月之前
父节点
当前提交
e0a17c0f7f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/creation/index-share.tsx
  2. 1 1
      src/views/creation/index.tsx

+ 1 - 1
src/views/creation/index-share.tsx

@@ -447,7 +447,7 @@ export default defineComponent({
     });
     // 初始化五线谱
     function initStaff(){
-      const src = `https://test.colexiu.com/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
+      const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
       // const src = `http://192.168.3.68:3000/instrument.html#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
       staffState.staffSrc = src
       window.addEventListener('message', (event) => {

+ 1 - 1
src/views/creation/index.tsx

@@ -424,7 +424,7 @@ export default defineComponent({
     }
     // 初始化五线谱
     function initStaff(){
-      const src = `https://test.colexiu.com/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
+      const src = `/klx-music-score/#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
       // const src = `http://192.168.3.68:3000/instrument.html#/simple-detail?id=${state.musicDetail.musicSheetId}&musicRenderType=${staffState.musicRenderType}&part-index=${staffState.partIndex}&userMusicId=${state.id}`;
       staffState.staffSrc = src
       window.addEventListener('message', (event) => {