revert: 恢复误删除的前端清理逻辑
This commit is contained in:
parent
7a23f52661
commit
7ea9c50d3c
|
@ -89,6 +89,8 @@ export default {
|
|||
if (res && res.code === 'ECONNABORTED') {
|
||||
return;
|
||||
}
|
||||
// 后台直接删除redis中的token,前端也需要删除
|
||||
clearSessionStorage()
|
||||
reject(res)
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue