浏览代码

Merge branch 'feature-tianyong-newVersion' into ktyq-test-new

TIANYONG 4 月之前
父节点
当前提交
a7f8731b86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/view/music-score/index.tsx

+ 1 - 1
src/view/music-score/index.tsx

@@ -170,7 +170,7 @@ export default defineComponent({
 			// 传入自定义的小节循环顺序
 			osmd.EngravingRules.DYCustomRepeatStr = state.extConfigJson.customRepeatStr?.trim()?.replace(/,/g, ',') || '';
 			if (state.combinePartIndexs.length > 1) {
-				(window as any).DYcombinePartIndexs = state.combinePartIndexs;
+				(window as any).DYcombinePartIndexs = (window as any).HasCommonTrack ? state.combinePartIndexs.map(item => item+1) : state.combinePartIndexs;
 			} else {
 				(window as any).DYcombinePartIndexs = null;
 			}