diff --git a/components/form/demo/form-in-modal.md b/components/form/demo/form-in-modal.md index f3111ef40b..4a1db28038 100644 --- a/components/form/demo/form-in-modal.md +++ b/components/form/demo/form-in-modal.md @@ -1,11 +1,10 @@ -# 与 Modal 配合使用 - -- order: 14 +--- +order: 14 +title: 与 Modal 配合使用 +--- 在 Modal 中使用 Form,当点击 Modal 的确定时,调用 `this.props.form.getFieldsValue` 获取表单内的值。 ---- - ````jsx import { Button, Form, Input, Modal } from 'antd'; const createForm = Form.create;