소스 검색

Merge branch 'feature-12.23' into ktyq-test-new

TIANYONG 7 달 전
부모
커밋
af0c0f6b4f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/page-instrument/header-top/speed/index.tsx

+ 2 - 1
src/page-instrument/header-top/speed/index.tsx

@@ -36,12 +36,13 @@ export default defineComponent({
 			() => speed.value,
 			() => {
 				// handleSetSpeed(speed.value);
-				state.speed = Math.floor(speed.value);
+				state.speed = speed.value
 				// handleSetSpeed(speed.value);
 				if (state.playState === 'paused') {
 					// const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
 					const currentItem: any = state.times[state.activeNoteIndex];
 					state.basePlayRate = currentItem?.measureSpeed ? state.speed / currentItem.measureSpeed : state.speed / state.originSpeed;
+					// console.log('播放倍率2',state.basePlayRate)
 				}
 			}
 		);