|
@@ -402,7 +402,7 @@ export const initSetPlayRate = () => {
|
|
|
const dynamicShowPlaySpeed = (index: number) => {
|
|
|
const item: any = detailState.times[index];
|
|
|
|
|
|
- if (item && modelType.value === "practice" && state.playState === "play" && item.measureSpeed ) {
|
|
|
+ if (item && state.playState === "play" && item.measureSpeed ) {
|
|
|
state.playIngSpeed = Math.floor(state.basePlayRate * item.measureSpeed)
|
|
|
}
|
|
|
}
|
|
@@ -1049,7 +1049,7 @@ export const setAudioInit = () => {
|
|
|
const time = res?.content.currentTime / 1000
|
|
|
const diffTime = res?.content?.currentTime - preAppAudioPlayTime;
|
|
|
preAppAudioPlayTime = res?.content?.currentTime
|
|
|
- console.log('app返回的mp3进度',time)
|
|
|
+ // console.log('app返回的mp3进度',time)
|
|
|
if (diffTime < 0) {
|
|
|
console.log('进度返回异常','本次时间比上次慢',diffTime,'当前播放时间:',res?.content?.currentTime)
|
|
|
return
|