From ecedda4dd67d35e7d9e17a39d11d16be31abedca 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, 18 Feb 2021 16:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=BB=9A=E5=88=B0=E5=BA=95?= =?UTF-8?q?=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/chat-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/chat-page.js b/static/js/chat-page.js index 66498f8..d487678 100644 --- a/static/js/chat-page.js +++ b/static/js/chat-page.js @@ -264,7 +264,7 @@ new Vue({ } content.content = replaceContent(content.content); _this.msgList.push(content); - if(_this.msgList.length>=5){ + if(_this.msgList.length>=4){ _this.scrollBottom(); } if(i==0){