From c3059fa275740c661d15b052bee7e5b4ef5f7927 Mon Sep 17 00:00:00 2001 From: hyt <958868763@qq.com> Date: Fri, 24 May 2024 17:00:59 +0800 Subject: [PATCH] =?UTF-8?q?5.21=E4=BF=AE=E6=94=B9=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=B7=B2=E5=87=BA=E7=8E=B0=E7=9A=84bug=E5=92=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 7b68325..9709182 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -274,6 +274,7 @@ export default { this.$store.dispatch("LogOut").then(() => { Cookies.remove("automaticLogin"); this.$store.commit("REMOVE_ROUTER"); + this.$store.dispatch("tagsView/delAllViews"); // location.href = '/login'; this.$router.replace({ path: "/login" }); // this.$router.push("/login");