|
|
|
@ -31,9 +31,11 @@ const ProtectedRoute = ({ auth }) => {
|
|
|
|
|
<div>
|
|
|
|
|
{/* '试着联系一下技术,所需权限: ' + auth.toString() */}
|
|
|
|
|
<Result
|
|
|
|
|
status="403"
|
|
|
|
|
title="403 权限不足"
|
|
|
|
|
status={auth_store.user.name === 'loading' ? '500' : '403'}
|
|
|
|
|
title={auth_store.user.name === 'loading' ? '无服务' : '403 权限不足'}
|
|
|
|
|
// title="403 权限不足"
|
|
|
|
|
subTitle={
|
|
|
|
|
auth_store.user.name !== 'loading' ? (
|
|
|
|
|
<>
|
|
|
|
|
<div style={{ width: 300, textAlign: 'left', margin: 'auto auto' }}>
|
|
|
|
|
<div>
|
|
|
|
@ -41,7 +43,7 @@ const ProtectedRoute = ({ auth }) => {
|
|
|
|
|
申请步骤:
|
|
|
|
|
</Text>
|
|
|
|
|
</div>
|
|
|
|
|
<ol style={{padding: '0 1rem'}}>
|
|
|
|
|
<ol style={{ padding: '0 1rem' }}>
|
|
|
|
|
<li>
|
|
|
|
|
复制以下信息
|
|
|
|
|
{/* <Button type="link" onClick={() => copyToClipboard(applyInfo)}>
|
|
|
|
@ -76,6 +78,7 @@ const ProtectedRoute = ({ auth }) => {
|
|
|
|
|
<Image alt="example" src={authExample} preview={false} />
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
) : null
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|