修复了查询页面页面鉴权的问题
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user