From 6bfbadb12860f54671466785fef66b7555863ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Thu, 31 Oct 2024 09:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8E=E5=A4=A9=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D=E6=96=87=E5=AD=97?= =?UTF-8?q?=E4=BB=8B=E7=BB=8D=E5=AE=B9=E5=99=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 11 ++++++----- .../components/xiaoqu/leftData/networkInfo.vue | 14 ++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index bf3a95c..a891fd5 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -15,8 +15,8 @@
- + + --> { this.$store.dispatch("LogOut").then(() => { - location.href = "/index"; + // location.href = "/index"; + this.$router.replace("/login"); }); }) .catch(() => {}); diff --git a/src/views/components/xiaoqu/leftData/networkInfo.vue b/src/views/components/xiaoqu/leftData/networkInfo.vue index eaf9992..dd3f778 100644 --- a/src/views/components/xiaoqu/leftData/networkInfo.vue +++ b/src/views/components/xiaoqu/leftData/networkInfo.vue @@ -1,9 +1,7 @@