ybt | 02e716d | 2025-04-15 17:19:32 +0800 | [diff] [blame^] | 1 | import React from 'react'; |
2 | import { Button, Result } from 'antd'; | ||||
3 | import { Link } from 'react-router-dom'; | ||||
4 | |||||
5 | const NotFound = () => { | ||||
6 | return ( | ||||
7 | <Result | ||||
8 | status="404" | ||||
9 | title="404" | ||||
10 | subTitle="抱歉,您访问的页面不存在。" | ||||
11 | extra={ | ||||
12 | <Button type="primary"> | ||||
13 | <Link to="/">返回首页</Link> | ||||
14 | </Button> | ||||
15 | } | ||||
16 | /> | ||||
17 | ); | ||||
18 | }; | ||||
19 | |||||
20 | export default NotFound; |