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) {