Browse Source

feat: osmd对象增加DYMusicScoreId:曲谱Id属性

TIANYONG 1 năm trước cách đây
mục cha
commit
36dd320233
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/view/music-score/index.tsx

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

@@ -94,6 +94,7 @@ export default defineComponent({
 					keySignature: true,
 				};
 			}
+			osmd.EngravingRules.DYMusicScoreId = state.examSongId || ''
 			await osmd.load(musicData.score);
 			osmd.zoom = state.zoom;
 			osmd.render();