From b520ef8649667ddaca646d85e74392dca3987d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Wed, 9 Oct 2024 17:05:54 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E7=99=BB=E5=BD=95=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.vue b/src/App.vue index 3df459b..395369b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -172,6 +172,7 @@ setInterval(async () => { if (userData.getters.get_token !== '') { const valid = await fetchUserInfo() if (!valid) { + logout() router.push({ name: 'Login' }) } }