退出登录,移除本地查询条件

This commit is contained in:
guoyue 2022-09-13 18:04:12 +08:00
parent 31a809f9d9
commit fb0a5e1f38
1 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,9 @@
// 退 // 退
const logout = async () => { const logout = async () => {
await store.dispatch('user/logout') await store.dispatch('user/logout')
//
localStorage.removeItem('integrationServices')
localStorage.removeItem('DetailsPageconetent')
window.sessionStorage.setItem('visits', JSON.stringify([])) window.sessionStorage.setItem('visits', JSON.stringify([]))
// 西 // 西
if (!whoShow1.itShowXiHaiAn) { if (!whoShow1.itShowXiHaiAn) {