From 9d190dca829ac88c350b5b061cc205c4f5b2a0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B6=E5=A3=AB=E6=B6=B5?= <630892807@qq.com> Date: Thu, 29 Oct 2020 21:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B6=88=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/chat-page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/chat-page.js b/static/js/chat-page.js index f6e91ef..207d3ef 100644 --- a/static/js/chat-page.js +++ b/static/js/chat-page.js @@ -73,6 +73,7 @@ new Vue({ //this.saveHistory(content); this.scrollBottom(); flashTitle();//标题闪烁 + clearInterval(this.timer); this.alertSound();//提示音 } if (redata.type == "close") { @@ -245,8 +246,9 @@ new Vue({ content.content = replaceContent(content.content); _this.msgList.push(content); _this.scrollBottom(); + _this.sendSound(); i++; - },3000); + },4000); } }