|
@@ -169,6 +169,11 @@ export default defineComponent({
|
|
|
osmd.EngravingRules.DYIsSingleLine = state.isSingleLine;
|
|
|
// 传入自定义的小节循环顺序
|
|
|
osmd.EngravingRules.DYCustomRepeatStr = state.extConfigJson.customRepeatStr?.trim()?.replace(/,/g, ',') || '';
|
|
|
+ if (state.combinePartIndexs.length > 1) {
|
|
|
+ (window as any).DYcombinePartIndexs = state.combinePartIndexs;
|
|
|
+ } else {
|
|
|
+ (window as any).DYcombinePartIndexs = null;
|
|
|
+ }
|
|
|
await osmd.load(musicData.score);
|
|
|
// 对外暴露 一行谱时候 缩小谱面
|
|
|
if(state.isSimplePage){
|