edit new doc

This commit is contained in:
陈帅 2018-06-26 16:51:51 +08:00
parent 0f22cd69c3
commit 186e69cea3
3 changed files with 10 additions and 13 deletions

View File

@ -1,17 +1,17 @@
--- ---
order: 0 order: 0
title: title:
zh-CN: 任务抽屉 zh-CN: 对象编辑
en-US: Task drawer en-US: From drawer
--- ---
## zh-CN ## zh-CN
用于承载任务相关操作,需要点击关闭按钮关闭。 用于承载编辑相关操作,需要点击关闭按钮关闭。
## en-US ## en-US
sed to carry tasks related operations, need to close by clicking the close button. sed to carry edit related operations, need to close by clicking the close button.
```jsx ```jsx
import { Drawer, Form, Button, Col, Row, Input, Select, DatePicker } from 'antd'; import { Drawer, Form, Button, Col, Row, Input, Select, DatePicker } from 'antd';

View File

@ -7,15 +7,12 @@ title:
## zh-CN ## zh-CN
用于信息预览的抽屉,点击遮罩区关闭。 需要快速预览对象概要时使用,点击遮罩区关闭。
- 需要快速预览对象概要时使用。如列表条目预览。
## en-US ## en-US
Drawer for information preview, click mask area off. Use when you need to quickly preview the outline of the object. Such as list item preview.
- Use when you need to quickly preview the outline of the object. Such as list item preview.
```jsx ```jsx
import { Drawer, List, Avatar, Divider, Col, Row } from 'antd'; import { Drawer, List, Avatar, Divider, Col, Row } from 'antd';

View File

@ -5,13 +5,13 @@ subtitle: 抽屉
title: Drawer title: Drawer
--- ---
抽屉是一种覆盖在父窗体上的面板,从父窗体边框外滑入,用来承载信息或操作集合。抽屉在不离开父窗体情况下进行互动,用户身处上下文环境中,能更方便清楚地处理任务。 抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到到原任务。
## 何时使用 ## 何时使用
* 创建或者编辑一个对象。
* 承载子任务。为了让子任务仍然置于主任务的上下文环境中,子任务对气泡 Popover 来说又过于复杂时,使用大号的抽屉来承载 * 当需要一个附加的面板来控制父窗体内容,这个面板在需要时呼出。比如,控制界面展示样式,往界面中添加内容
* 同一表单在多处使用 * 当需要在当前任务流中插入临时任务,创建或预览附加内容。比如展示协议条款,创建子对象。
## API ## API