代码调整

This commit is contained in:
joylink_cuiweidong 2022-07-27 16:23:01 +08:00
parent 110d17436e
commit b40038910e

View File

@ -901,10 +901,10 @@ export default {
//
stopRecording() {
this.audioPlay = true;
clearInterval(this.inter);
this.seconds = 0;
const that = this;
this.recorders.stopRecording(function(blobURL) {
clearInterval(that.inter);
that.seconds = 0;
const blob = that.recorders.getBlob();
const fd = new FormData();
fd.append('file', blob);