西海岸直接回单点

This commit is contained in:
wuhongjian 2022-07-20 17:22:23 +08:00
parent 66a5d33609
commit 38c77a3e96
1 changed files with 8 additions and 5 deletions

View File

@ -162,11 +162,14 @@
const logout = async () => {
await store.dispatch('user/logout')
window.sessionStorage.setItem('visits', JSON.stringify([]))
if (recordRoute) {
const fullPath = route.fullPath
router.push(`/login?redirect=${fullPath}`)
} else {
router.push('/login')
// 西
if (!whoShow1.itShowXiHaiAn) {
if (recordRoute) {
const fullPath = route.fullPath
router.push(`/login?redirect=${fullPath}`)
} else {
router.push('/login')
}
}
}
//