Browse Source

录音错误提示2

cxmo 2 years ago
parent
commit
9e8285f97e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages-question/answerDetail.vue

+ 1 - 1
pages-question/answerDetail.vue

@@ -224,7 +224,7 @@ export default {
     this.resetAudio();
     this.destroyAudio();
     //录音时误操作退出页面的情况
-    if(this.questionItem.recordStatus!==4||this.questionItem.recordStatus!==1){
+    if(this.questionItem.recordStatus!==4&&this.questionItem.recordStatus!==1){
       this.globalRecorder.stop()
     } 
   },