From 437b40045ce48b28e2817b0f9f9998d3a881ebe1 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期二, 05 九月 2023 16:39:02 +0800 Subject: [PATCH] modified: src/components/experiment/template_testReport/index.vue modified: src/utils/GlobalClickMixin.js modified: src/views/experiment/passRateStatistics/index.vue modified: src/views/experiment/planAssignments/plan.vue modified: src/views/laboratory/measure/index.vue modified: src/views/laboratory/personnel/index.vue modified: src/views/standardLibrary/index.vue --- src/layout/components/Navbar.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 58c568e..0fe19aa 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -108,8 +108,9 @@ async logout() { // await this.$store.dispatch('user/logout') sessionStorage.removeItem("user") - this.$router.push(`/login?redirect=${this.$route.fullPath}`) - this.$router.replace({ path: '/login' }); + localStorage.removeItem("autoenter"); + this.$router.push(`/login?redirect=${this.$route.fullPath}`) + this.$router.replace({path: '/login'}); location.reload(); }, -- Gitblit v1.9.3