revert: 恢复误删除的前端清理逻辑

This commit is contained in:
CaptainB 2022-12-02 14:20:07 +08:00 committed by 刘瑞斌
parent 7a23f52661
commit 7ea9c50d3c
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ export default {
if (res && res.code === 'ECONNABORTED') {
return;
}
// 后台直接删除redis中的token前端也需要删除
clearSessionStorage()
reject(res)
})
});