From 9a52b9d54c80b68cccf062d7bbaf53026bcc349e Mon Sep 17 00:00:00 2001 From: "630892807@qq.com" <630892807@qq.com> Date: Mon, 29 Mar 2021 21:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E5=A4=B1=E6=95=88=E8=B7=B3?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/chat-main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/chat-main.js b/static/js/chat-main.js index 17d2cd7..9712b30 100644 --- a/static/js/chat-main.js +++ b/static/js/chat-main.js @@ -338,6 +338,9 @@ var app=new Vue({ type: 'error' }); } + if(data.code==400){ + window.location.href="/login"; + } } }); },