ant-design/components/result/demo/500.md

28 lines
356 B
Markdown
Raw Normal View History

---
order: 6
title:
zh-CN: 500
en-US: 500
---
## zh-CN
服务器发生了错误。
## en-US
Something went wrong on server.
```jsx
import { Result, Button } from 'antd';
export default () => (
<Result
status="500"
title="500"
subTitle="Sorry, something went wrong."
extra={<Button type="primary">Back Home</Button>}
/>
);
```