西海岸直接回单点
This commit is contained in:
parent
66a5d33609
commit
38c77a3e96
|
@ -162,6 +162,8 @@
|
||||||
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 (!whoShow1.itShowXiHaiAn) {
|
||||||
if (recordRoute) {
|
if (recordRoute) {
|
||||||
const fullPath = route.fullPath
|
const fullPath = route.fullPath
|
||||||
router.push(`/login?redirect=${fullPath}`)
|
router.push(`/login?redirect=${fullPath}`)
|
||||||
|
@ -169,6 +171,7 @@
|
||||||
router.push('/login')
|
router.push('/login')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// 跳转页面
|
// 跳转页面
|
||||||
const jumpPage = (item) => {
|
const jumpPage = (item) => {
|
||||||
// console.log(item)
|
// console.log(item)
|
||||||
|
|
Loading…
Reference in New Issue