|
@@ -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",
|
|
|
});
|