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

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

View File

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