替换带代码里所有 fastjson 的内容,统一使用 jackson

不考虑使用 gson 的原因,是基本停止了维护
This commit is contained in:
YunaiV
2021-01-24 12:15:59 +08:00
parent 9c1c265993
commit eadc4f749a
17 changed files with 106 additions and 131 deletions

View File

@ -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) {