blob: 30efee629805a272eb3472e37ebe3504b42344fd [file] [log] [blame]
ybt02e716d2025-04-15 17:19:32 +08001import React from 'react';
2import { Result, Button } from 'antd';
3import { Link } from 'react-router-dom';
4
ybtda5978b2025-05-31 15:58:05 +08005const UnauthorizedPage = () => {
ybt02e716d2025-04-15 17:19:32 +08006 return (
7 <Result
8 status="403"
9 title="无权限访问"
10 subTitle="抱歉,您没有权限访问此页面。"
11 extra={
12 <Button type="primary">
13 <Link to="/">返回首页</Link>
14 </Button>
15 }
16 />
17 );
18};
19
ybtda5978b2025-05-31 15:58:05 +080020export default UnauthorizedPage;