Browse Source

fix: #11078 bug修复

TIANYONG 7 months ago
parent
commit
9bdd1c5489
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/page-instrument/simple-detail/index.tsx

+ 1 - 0
src/page-instrument/simple-detail/index.tsx

@@ -43,6 +43,7 @@ export default defineComponent({
 				if (currentTime === 0) {
 					// 坐标和小节都改为初始值
 					setTimeout(() => {
+						detailData.currentTime = 0
 						state.activeNoteIndex = 0
 						state.activeMeasureIndex = state.times[0].MeasureNumberXML;
 						handlePlaying(true);