西海岸直接回单点
This commit is contained in:
parent
66a5d33609
commit
38c77a3e96
|
@ -162,11 +162,14 @@
|
||||||
const logout = async () => {
|
const logout = async () => {
|
||||||
await store.dispatch('user/logout')
|
await store.dispatch('user/logout')
|
||||||
window.sessionStorage.setItem('visits', JSON.stringify([]))
|
window.sessionStorage.setItem('visits', JSON.stringify([]))
|
||||||
if (recordRoute) {
|
// 西海岸不返回登录页
|
||||||
const fullPath = route.fullPath
|
if (!whoShow1.itShowXiHaiAn) {
|
||||||
router.push(`/login?redirect=${fullPath}`)
|
if (recordRoute) {
|
||||||
} else {
|
const fullPath = route.fullPath
|
||||||
router.push('/login')
|
router.push(`/login?redirect=${fullPath}`)
|
||||||
|
} else {
|
||||||
|
router.push('/login')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 跳转页面
|
// 跳转页面
|
||||||
|
|
Loading…
Reference in New Issue