mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 02:25:06 +08:00
替换带代码里所有 fastjson 的内容,统一使用 jackson
不考虑使用 gson 的原因,是基本停止了维护
This commit is contained in:
@ -61,9 +61,10 @@ service.interceptors.response.use(res => {
|
||||
}
|
||||
).then(() => {
|
||||
store.dispatch('LogOut').then(() => {
|
||||
if (location.pathname !== '/login') { // 避免重复跳转
|
||||
location.href = '/index';
|
||||
}
|
||||
// if (location.pathname !== '/login') { // 避免重复跳转
|
||||
//
|
||||
// }
|
||||
location.href = '/index';
|
||||
})
|
||||
})
|
||||
} else if (code === 500) {
|
||||
|
Reference in New Issue
Block a user