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.
57 lines
1.1 KiB
57 lines
1.1 KiB
5 years ago
|
---
|
||
5 years ago
|
order: 7
|
||
5 years ago
|
title:
|
||
5 years ago
|
zh-CN: Error
|
||
|
en-US: Error
|
||
5 years ago
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
5 years ago
|
复杂的错误反馈。
|
||
5 years ago
|
|
||
|
## en-US
|
||
|
|
||
5 years ago
|
Complex error feedback.
|
||
5 years ago
|
|
||
|
```jsx
|
||
|
import { Result, Button, Icon, Typography } from 'antd';
|
||
|
|
||
5 years ago
|
const { Paragraph, Text } = Typography;
|
||
5 years ago
|
|
||
|
ReactDOM.render(
|
||
|
<Result
|
||
|
status="error"
|
||
|
title="Submission Failed"
|
||
|
subTitle="Please check and modify the following information before resubmitting."
|
||
|
extra={[
|
||
|
<Button type="primary" key="console">
|
||
|
Go Console
|
||
|
</Button>,
|
||
|
<Button key="buy">Buy Again</Button>,
|
||
|
]}
|
||
|
>
|
||
|
<div className="desc">
|
||
5 years ago
|
<Paragraph>
|
||
|
<Text
|
||
|
strong
|
||
|
style={{
|
||
|
fontSize: 16,
|
||
|
}}
|
||
|
>
|
||
|
The content you submitted has the following error:
|
||
|
</Text>
|
||
|
</Paragraph>
|
||
5 years ago
|
<Paragraph>
|
||
|
<Icon style={{ color: 'red' }} type="close-circle" /> Your account has been frozen{' '}
|
||
|
<a>Thaw immediately ></a>
|
||
|
</Paragraph>
|
||
|
<Paragraph>
|
||
5 years ago
|
<Icon style={{ color: 'red' }} type="close-circle" /> Your account is not yet eligible to
|
||
|
apply <a>Apply Unlock ></a>
|
||
5 years ago
|
</Paragraph>
|
||
|
</div>
|
||
|
</Result>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|