22 lines
534 B
TypeScript
22 lines
534 B
TypeScript
![]() |
import { getURLInformation } from '@/utils/CommonUtils';
|
||
|
import { Result } from 'antd';
|
||
|
import React from 'react';
|
||
|
|
||
|
const message = {
|
||
|
401: '您的用户信息有误,请联系管理员',
|
||
|
90401: '您的登录已超时,请重新登录',
|
||
|
404: '系统错误,请联系管理员',
|
||
|
};
|
||
|
|
||
|
const RequestTimeoutPage: React.FC<{}> = () => {
|
||
|
const code: any = getURLInformation('code') == null ? '404' : getURLInformation('code');
|
||
|
|
||
|
return (
|
||
|
<Result
|
||
|
title={message[code]}
|
||
|
/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default RequestTimeoutPage;
|