Browse Source

评测状态,播放到选段末尾,退出

skyblued 2 years ago
parent
commit
b4cbd3db30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/detail/runtime.ts

+ 1 - 1
src/pages/detail/runtime.ts

@@ -425,7 +425,7 @@ export const refreshPlayer = async (ctime?: number) => {
         await state.audiosInstance.pause()
       }
       // 如果是单元测验 和课后训练直接结束
-      if (unitTestData.isSelectMeasureMode){
+      if (unitTestData.isSelectMeasureMode && state.evaluatingStatus){
         event.emit('ended')
         return
       }