SanHQin преди 10 месеца
родител
ревизия
bc1091bcb9
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      src/components/pages/classroomObservation/components/chatArea.vue

+ 5 - 0
src/components/pages/classroomObservation/components/chatArea.vue

@@ -840,6 +840,7 @@ export default {
 				iiframe.contentWindow.onSessionStopped = (s, e) => {
 					this.recordedForm.status = 3;
 					this.controlsStatus = 2;
+					this.showGetTextLoading = false;
 					this.$message.success("已结束录音");
 					clearInterval(this.recordedForm.timer);
 					console.log("结束录音👇");
@@ -857,6 +858,10 @@ export default {
 				};
 			} else if (this.recordedForm.status == 2) {
 				//暂停录音时
+				this.recordedForm.status = 3;
+				this.controlsStatus = 2;
+				this.showGetTextLoading = false;
+				clearInterval(this.recordedForm.timer);
 				let blob = new Blob(this.recordedForm.audioBlob, {
 					type: "audio/wav",
 				});