From 20de76047bb36d8a35acaa744c49b2f1bb5716d8 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 25 Apr 2023 17:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=AD=E9=9F=B3=E6=9C=80?= =?UTF-8?q?=E9=95=BF=E7=A7=92=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/newChat/chatContent.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/display/newChat/chatContent.vue b/src/views/newMap/display/newChat/chatContent.vue index ef69211bb..5af1a18ac 100644 --- a/src/views/newMap/display/newChat/chatContent.vue +++ b/src/views/newMap/display/newChat/chatContent.vue @@ -29,7 +29,7 @@ T - + @@ -60,6 +60,7 @@ export default { return { recordSending:false, seconds:0, + maxSeconds:59, inter:null, recorders: null, microphone:null, @@ -295,7 +296,7 @@ export default { this.recordSending = true; this.audioPlay = false; this.inter = setInterval(() => { - if (this.seconds < 60) { + if (this.seconds < this.maxSeconds) { this.seconds++; } else { clearInterval(this.inter);