退出登录,移除本地查询条件
This commit is contained in:
parent
31a809f9d9
commit
fb0a5e1f38
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue