Browse Source

fix: 切换谱面,清空evXmlBeginArr

TIANYONG 11 tháng trước cách đây
mục cha
commit
b99e7c9fb6
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

@@ -221,6 +221,7 @@ export default defineComponent({
 						selectionBox && container?.removeChild(selectionBox)
 						selectionBgBox && container?.removeChild(selectionBgBox)
 					}
+					state.evXmlBeginArr = [];
 					state.vfmeasures = [];
 					musicData.showSelection = false;
 					state.osmd.clear();