2019-06-30 20:15:44 +08:00
|
|
|
---
|
2019-07-04 15:14:13 +08:00
|
|
|
order: 7
|
2019-06-30 20:15:44 +08:00
|
|
|
title:
|
2019-07-04 15:14:13 +08:00
|
|
|
zh-CN: Error
|
|
|
|
en-US: Error
|
2019-06-30 20:15:44 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
2019-07-04 15:14:13 +08:00
|
|
|
复杂的错误反馈。
|
2019-06-30 20:15:44 +08:00
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
2019-07-04 15:14:13 +08:00
|
|
|
Complex error feedback.
|
2019-06-30 20:15:44 +08:00
|
|
|
|
|
|
|
```jsx
|
2019-08-13 14:07:17 +08:00
|
|
|
import { Result, Button, Typography } from 'antd';
|
|
|
|
import { CloseCircle } from '@ant-design/icons';
|
2019-06-30 20:15:44 +08:00
|
|
|
|
2019-07-04 15:14:13 +08:00
|
|
|
const { Paragraph, Text } = Typography;
|
2019-06-30 20:15:44 +08:00
|
|
|
|
|
|
|
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">
|
2019-07-04 15:14:13 +08:00
|
|
|
<Paragraph>
|
|
|
|
<Text
|
|
|
|
strong
|
|
|
|
style={{
|
|
|
|
fontSize: 16,
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
The content you submitted has the following error:
|
|
|
|
</Text>
|
|
|
|
</Paragraph>
|
2019-06-30 20:15:44 +08:00
|
|
|
<Paragraph>
|
2019-08-13 14:07:17 +08:00
|
|
|
<CloseCircle style={{ color: 'red' }} /> Your account has been frozen{' '}
|
2019-06-30 20:15:44 +08:00
|
|
|
<a>Thaw immediately ></a>
|
|
|
|
</Paragraph>
|
|
|
|
<Paragraph>
|
2019-08-13 14:07:17 +08:00
|
|
|
<CloseCircle style={{ color: 'red' }} /> Your account is not yet eligible to apply{' '}
|
|
|
|
<a>Apply Unlock ></a>
|
2019-06-30 20:15:44 +08:00
|
|
|
</Paragraph>
|
|
|
|
</div>
|
|
|
|
</Result>,
|
|
|
|
mountNode,
|
|
|
|
);
|
|
|
|
```
|