--- order: 3 title: zh-CN: 抽屉表单 en-US: Submit form in drawer --- ## zh-CN 在抽屉中使用表单。 ## en-US Use a form in Drawer with a submit button. ```jsx import { Drawer, Form, Button, Col, Row, Input, Select, DatePicker, Icon } from 'antd'; const { Option } = Select; class DrawerForm extends React.Component { state = { visible: false }; showDrawer = () => { this.setState({ visible: true, }); }; onClose = () => { this.setState({ visible: false, }); }; render() { const { getFieldDecorator } = this.props.form; return (