去除刷新

This commit is contained in:
yj 2024-08-13 17:16:46 +08:00
parent e9d15feaa7
commit f0da251926
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ class Request {
PostRefresh(user.refresh_token).then((res) => { PostRefresh(user.refresh_token).then((res) => {
if (res.code == 200) { if (res.code == 200) {
storage.setItem('user', JSON.stringify(res.data)) storage.setItem('user', JSON.stringify(res.data))
location.reload()
} else { } else {
storage.removeItem('user') storage.removeItem('user')
location.href = location.origin + '/#/login' location.href = location.origin + '/#/login'