fix: 修复账号授权已过期会无限跳转到登录页的bug

pull/49/head
moonrailgun 3 years ago
parent dfd3fe6857
commit fafe87e520

@ -71,6 +71,12 @@ const backToLoginPage = (() => {
return () => {
if (timer) {
// 如果已经存在则跳过
return;
}
if (window.location.pathname.startsWith('/entry')) {
// 如果已经在入口页面则跳过
return;
}

Loading…
Cancel
Save