From 72c67050126af9b6dae201e6b4918eaf70a39138 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Wed, 30 Sep 2020 17:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E5=85=B3=E9=97=AD=E7=9A=84?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=8F=91=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/chat-page.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/static/js/chat-page.js b/static/js/chat-page.js index 18b7146..f613ae2 100644 --- a/static/js/chat-page.js +++ b/static/js/chat-page.js @@ -12,6 +12,7 @@ new Vue({ visitor:{}, face:[], showKfonline:false, + socketClosed:false, }, methods: { //初始化websocket @@ -76,6 +77,7 @@ new Vue({ $(".chatBox").append("