2019-07-04 15:14:13 +08:00
|
|
|
---
|
|
|
|
order: 6
|
|
|
|
title:
|
|
|
|
zh-CN: 500
|
|
|
|
en-US: 500
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
服务器发生了错误。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
2020-04-25 18:16:12 +08:00
|
|
|
Something went wrong on server.
|
2019-07-04 15:14:13 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2022-05-23 14:37:16 +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="500"
|
|
|
|
title="500"
|
2020-04-25 18:16:12 +08:00
|
|
|
subTitle="Sorry, something went wrong."
|
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
|
|
|
```
|