From fb0a5e1f384b17538e9ef960ecab73ac1dfec0f9 Mon Sep 17 00:00:00 2001 From: guoyue Date: Tue, 13 Sep 2022 18:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9C=AC=E5=9C=B0=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/header.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index dcb4585f..b1fc9482 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -156,6 +156,9 @@ // 退出登录 const logout = async () => { await store.dispatch('user/logout') + // 移除本地存储查询条件 + localStorage.removeItem('integrationServices') + localStorage.removeItem('DetailsPageconetent') window.sessionStorage.setItem('visits', JSON.stringify([])) // 西海岸不返回登录页 if (!whoShow1.itShowXiHaiAn) {