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