mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +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,
|
||
|
);
|
||
|
```
|