import { Button, Result } from 'antd';
import { useNavigate } from 'react-router';

export function ForbiddenPage() {
  const navigate = useNavigate();
  return <Result status="403" title="无权访问" subTitle="当前平台岗位没有此工作台权限。" extra={<Button type="primary" onClick={() => navigate('/')}>返回首页</Button>} />;
}
