Files
fe_service_ebtp_frontend/src/pages/401.tsx

22 lines
534 B
TypeScript
Raw Normal View History

2022-03-10 14:24:13 +08:00
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;