liushengqiang 1 ano atrás
pai
commit
c9eda68de5
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0 6
      src/pages/detail/runtime.ts

+ 0 - 6
src/pages/detail/runtime.ts

@@ -487,7 +487,6 @@ export const resetPlayStatus = async (notStop?: boolean) => {
             songID: detailState.activeDetail.examSongId,
           },
         })
-        endCapture()
       } else {
         console.log('resetPlayStatus调用暂停')
         state.audiosInstance.pause()
@@ -540,15 +539,10 @@ export const pause = async () => {
       api: 'cloudSuspend',
     })
     await setDelayTime(200)
-    endCapture()
   } else {
     state.playState = state.audiosInstance.getStatus()
     clearAccelerateRefreshPlayer()
     state.audiosInstance.pause()
-    setTimeout(() => {
-      // 确保播放完毕,延迟200ms
-      endCapture()
-    }, 200)
   }
 }