提交 186e69ce 编写于 作者: 陈帅

edit new doc

上级 0f22cd69
---
order: 0
title:
zh-CN: 任务抽屉
en-US: Task drawer
zh-CN: 对象编辑
en-US: From drawer
---
## zh-CN
用于承载任务相关操作,需要点击关闭按钮关闭。
用于承载编辑相关操作,需要点击关闭按钮关闭。
## 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
import { Drawer, Form, Button, Col, Row, Input, Select, DatePicker } from 'antd';
......
......@@ -7,15 +7,12 @@ title:
## zh-CN
用于信息预览的抽屉,点击遮罩区关闭。
需要快速预览对象概要时使用,点击遮罩区关闭。
- 需要快速预览对象概要时使用。如列表条目预览。
## 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
import { Drawer, List, Avatar, Divider, Col, Row } from 'antd';
......
......@@ -5,13 +5,13 @@ subtitle: 抽屉
title: Drawer
---
抽屉是一种覆盖在父窗体上的面板,从父窗体边框外滑入,用来承载信息或操作集合。抽屉在不离开父窗体情况下进行互动,用户身处上下文环境中,能更方便清楚地处理任务。
抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到到原任务。
## 何时使用
* 创建或者编辑一个对象。
* 承载子任务。为了让子任务仍然置于主任务的上下文环境中,子任务对气泡 Popover 来说又过于复杂时,使用大号的抽屉来承载
* 同一表单在多处使用
* 当需要一个附加的面板来控制父窗体内容,这个面板在需要时呼出。比如,控制界面展示样式,往界面中添加内容
* 当需要在当前任务流中插入临时任务,创建或预览附加内容。比如展示协议条款,创建子对象。
## API
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册