فهرست منبع

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

TIANYONG 5 ماه پیش
والد
کامیت
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;
 			}