修复了查询页面页面鉴权的问题

This commit is contained in:
2023-12-17 04:45:37 +00:00
parent 8d75e8bc86
commit c696fa1396

View File

@ -119,7 +119,6 @@
await UpdateUserInfo(); await UpdateUserInfo();
if((await GetMyPrivilege())<1) if((await GetMyPrivilege())<1)
{ {
document.querySelector('.buy-box').style.display = 'none';
document.querySelector('.content').innerHTML = '<div class="info-box"><h2>Please log in first.</h2><p>Redirecting to home page in 3 seconds...</p></div>'; document.querySelector('.content').innerHTML = '<div class="info-box"><h2>Please log in first.</h2><p>Redirecting to home page in 3 seconds...</p></div>';
setTimeout(function(){window.location.href="/";},3000); setTimeout(function(){window.location.href="/";},3000);
} }