You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
salary-management-oneself/src/pages/exception/403/index.tsx

24 lines
473 B
TypeScript

import { useIntl, Link } from 'umi';
import { Result, Button } from 'antd';
export default () => {
const intl = useIntl();
return (
<Result
status="403"
title="403"
style={{
background: 'none',
}}
subTitle={intl.formatMessage({ id: '403' })}
extra={
<Link to="/">
<Button type="primary">
{intl.formatMessage({ id: 'BackToHome' })}
</Button>
</Link>
}
/>
);
};