Browse Source

fix: #12279 问题6修复

TIANYONG 1 week ago
parent
commit
310bd2d4ef
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/page-instrument/evaluat-model/index.tsx

+ 6 - 0
src/page-instrument/evaluat-model/index.tsx

@@ -393,6 +393,12 @@ export default defineComponent({
          */
         // startBtnHandle();
       } else if (type === "selfCancel") {
+        // 如果是midi的曲子,需要暂停midi播放
+        if (state.isAppPlay) {
+          api_cloudSuspend({
+            songID: state.examSongId,
+          })
+        }        
         // 再来一次,需要手动取消评测,不生成评测记录,不显示评测结果弹窗
         evaluatingData.oneselfCancleEvaluating = true;
         // handleCancelEvaluat();