You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
352 B
29 lines
352 B
5 years ago
|
---
|
||
|
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,
|
||
|
);
|
||
|
```
|