From c474ae5656aa3805999dd5f7214d325ad1059b08 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 14 May 2020 19:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=BB=98=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E9=85=8D=E7=BD=AE=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E4=BF=9D=E5=AD=98cookie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/login/Login.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/login/Login.vue b/frontend/src/login/Login.vue index 041b7fcb24..c678dc1e59 100644 --- a/frontend/src/login/Login.vue +++ b/frontend/src/login/Login.vue @@ -113,9 +113,11 @@ this.$get("language", response => { language = response.data; localStorage.setItem(DEFAULT_LANGUAGE, language) + window.location.href = "/" }) + } else { + window.location.href = "/" } - window.location.href = "/" }); } else { return false;