Skip to content

Commit

Permalink
新增硬件页面、优化网站部分文案
Browse files Browse the repository at this point in the history
  • Loading branch information
marker committed Apr 4, 2021
1 parent fb8960c commit cc4b643
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bullet-server/src/main/resources/static/js/faceinner.ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ let faceinner = {
console.log('RefreshToken过期了, 请重新登录!');
// 跳转到登录
window.location.href = "#/login"

delete localStorage.tokenInfo;
delete localStorage.token;
delete localStorage.tokenExpires; // 有效期 单位:秒
delete localStorage.tokenTime; // 当前时间

return;
}
localStorage.tokenInfo = JSON.stringify(res);
Expand Down

0 comments on commit cc4b643

Please sign in to comment.