|
@@ -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;
|
|
|
}
|