2019-07-04 15:14:13 +08:00
|
|
|
---
|
|
|
|
order: 5
|
|
|
|
title:
|
|
|
|
zh-CN: 404
|
|
|
|
en-US: 404
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
此页面未找到。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
The page you visited does not exist.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2022-05-21 22:14:15 +08:00
|
|
|
import { Button, Result } from 'antd';
|
2022-05-19 09:46:26 +08:00
|
|
|
import React from 'react';
|
2019-07-04 15:14:13 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2019-07-04 15:14:13 +08:00
|
|
|
<Result
|
|
|
|
status="404"
|
|
|
|
title="404"
|
2019-07-15 10:43:28 +08:00
|
|
|
subTitle="Sorry, the page you visited does not exist."
|
2019-07-04 15:14:13 +08:00
|
|
|
extra={<Button type="primary">Back Home</Button>}
|
2022-04-03 23:27:45 +08:00
|
|
|
/>
|
2019-07-04 15:14:13 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-07-04 15:14:13 +08:00
|
|
|
```
|