This commit is contained in:
caishi 2022-03-29 09:51:20 +08:00
parent cb87a9d075
commit 4d613fd07f
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class Shixunauthority extends Component {
<p>您尚未被授权访问此页面请先获取相关权限</p>
您可尝试
{(!current_user || !current_user.login) && (
<p style={{display:"inline"}}>您可尝试<a href={`${mygetHelmetapi && mygetHelmetapi.common && mygetHelmetapi.common.main_site_url}/login`} className="color-blue">登录</a></p>
<p style={{display:"inline"}}>您可尝试<a href={`/login`} className="color-blue">登录</a></p>
)}
<a href="/" className="color-blue">返回首页</a>
<a target="_blank"

View File

@ -14,7 +14,7 @@ class http500 extends Component {
<p>你访问的页面不存在</p>
您可尝试
{(!current_user || !current_user.login) && (
<p style={{display:"inline"}}>您可尝试<a href={`${mygetHelmetapi && mygetHelmetapi.common && mygetHelmetapi.common.main_site_url}/login`} className="color-blue">登录</a></p>
<p style={{display:"inline"}}>您可尝试<a href={`/login`} className="color-blue">登录</a></p>
)}
<a href="/" className="color-blue">返回首页</a>
也可通过