|
@@ -53,6 +53,10 @@ export default {
|
|
|
type: String,
|
|
|
default: 'big',
|
|
|
},
|
|
|
+ disabled: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -148,6 +152,7 @@ export default {
|
|
|
this.$refs.audio.pause();
|
|
|
this.audio.paused = true;
|
|
|
}
|
|
|
+ if (this.disabled) return;
|
|
|
if (this.microphoneStatus) {
|
|
|
this.hasMicro = 'normal';
|
|
|
this.recorder.stop();
|