mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
29 lines
352 B
Markdown
29 lines
352 B
Markdown
|
---
|
||
|
order: 6
|
||
|
title:
|
||
|
zh-CN: 500
|
||
|
en-US: 500
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
服务器发生了错误。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
The server is wrong.
|
||
|
|
||
|
```jsx
|
||
|
import { Result, Button } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Result
|
||
|
status="500"
|
||
|
title="500"
|
||
|
subTitle="Sorry, the server is wrong."
|
||
|
extra={<Button type="primary">Back Home</Button>}
|
||
|
/>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|