Skip to content

Commit 99c52a5

Browse files
author
zesani
authored
Update Speech.vue
fix stopRecording is called immediately
1 parent c45d70a commit 99c52a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Speech.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@
572572
this.result = false;
573573
this.btn = false;
574574
this.btnStop = true;
575-
setTimeout(this.stopRecording(), 58000)
575+
setTimeout(this.stopRecording, 58000)
576576
},
577577
stopRecording() {
578578
// Stopped Recording

0 commit comments

Comments
 (0)