mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
73 KiB
JavaScript
1 line
73 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["5886496b"],{"5886496b":function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return I;}}),d("2352a7bd");let I=[{value:"\u7528\u4E8E\u521B\u5EFA\u4E00\u4E2A\u5B9E\u4F53\u6216\u6536\u96C6\u4FE1\u606F\u3002",paraId:0,tocIndex:0},{value:"\u9700\u8981\u5BF9\u8F93\u5165\u7684\u6570\u636E\u7C7B\u578B\u8FDB\u884C\u6821\u9A8C\u65F6\u3002",paraId:0,tocIndex:0},{value:"\u901A\u7528\u5C5E\u6027\u53C2\u8003\uFF1A",paraId:1,tocIndex:44},{value:"\u901A\u7528\u5C5E\u6027",paraId:2,tocIndex:44},{value:"\u53C2\u6570",paraId:3,tocIndex:45},{value:"\u8BF4\u660E",paraId:3,tocIndex:45},{value:"\u7C7B\u578B",paraId:3,tocIndex:45},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:45},{value:"\u7248\u672C",paraId:3,tocIndex:45},{value:"colon",paraId:3,tocIndex:45},{value:"\u914D\u7F6E Form.Item \u7684 ",paraId:3,tocIndex:45},{value:"colon",paraId:3,tocIndex:45},{value:" \u7684\u9ED8\u8BA4\u503C\u3002\u8868\u793A\u662F\u5426\u663E\u793A label \u540E\u9762\u7684\u5192\u53F7 (\u53EA\u6709\u5728\u5C5E\u6027 layout \u4E3A horizontal \u65F6\u6709\u6548)",paraId:3,tocIndex:45},{value:"boolean",paraId:3,tocIndex:45},{value:"true",paraId:3,tocIndex:45},{value:"disabled",paraId:3,tocIndex:45},{value:"\u8BBE\u7F6E\u8868\u5355\u7EC4\u4EF6\u7981\u7528\uFF0C\u4EC5\u5BF9 antd \u7EC4\u4EF6\u6709\u6548",paraId:3,tocIndex:45},{value:"boolean",paraId:3,tocIndex:45},{value:"false",paraId:3,tocIndex:45},{value:"4.21.0",paraId:3,tocIndex:45},{value:"component",paraId:3,tocIndex:45},{value:"\u8BBE\u7F6E Form \u6E32\u67D3\u5143\u7D20\uFF0C\u4E3A ",paraId:3,tocIndex:45},{value:"false",paraId:3,tocIndex:45},{value:" \u5219\u4E0D\u521B\u5EFA DOM \u8282\u70B9",paraId:3,tocIndex:45},{value:"ComponentType | false",paraId:3,tocIndex:45},{value:"form",paraId:3,tocIndex:45},{value:"fields",paraId:3,tocIndex:45},{value:"\u901A\u8FC7\u72B6\u6001\u7BA1\u7406\uFF08\u5982 redux\uFF09\u63A7\u5236\u8868\u5355\u5B57\u6BB5\uFF0C\u5982\u975E\u5F3A\u9700\u6C42\u4E0D\u63A8\u8350\u4F7F\u7528\u3002\u67E5\u770B",paraId:3,tocIndex:45},{value:"\u793A\u4F8B",paraId:4,tocIndex:45},{value:"FieldData",paraId:5,tocIndex:45},{value:"[]",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"form",paraId:3,tocIndex:45},{value:"\u7ECF ",paraId:3,tocIndex:45},{value:"Form.useForm()",paraId:3,tocIndex:45},{value:" \u521B\u5EFA\u7684 form \u63A7\u5236\u5B9E\u4F8B\uFF0C\u4E0D\u63D0\u4F9B\u65F6\u4F1A\u81EA\u52A8\u521B\u5EFA",paraId:3,tocIndex:45},{value:"FormInstance",paraId:6,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"feedbackIcons",paraId:3,tocIndex:45},{value:"\u5F53 ",paraId:3,tocIndex:45},{value:"Form.Item",paraId:3,tocIndex:45},{value:" \u6709 ",paraId:3,tocIndex:45},{value:"hasFeedback",paraId:3,tocIndex:45},{value:" \u5C5E\u6027\u65F6\u53EF\u4EE5\u81EA\u5B9A\u4E49\u56FE\u6807",paraId:3,tocIndex:45},{value:"FeedbackIcons",paraId:7,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"5.9.0",paraId:3,tocIndex:45},{value:"initialValues",paraId:3,tocIndex:45},{value:"\u8868\u5355\u9ED8\u8BA4\u503C\uFF0C\u53EA\u6709\u521D\u59CB\u5316\u4EE5\u53CA\u91CD\u7F6E\u65F6\u751F\u6548",paraId:3,tocIndex:45},{value:"object",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"labelAlign",paraId:3,tocIndex:45},{value:"label \u6807\u7B7E\u7684\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",paraId:3,tocIndex:45},{value:"left",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"right",paraId:3,tocIndex:45},{value:"right",paraId:3,tocIndex:45},{value:"labelWrap",paraId:3,tocIndex:45},{value:"label \u6807\u7B7E\u7684\u6587\u672C\u6362\u884C\u65B9\u5F0F",paraId:3,tocIndex:45},{value:"boolean",paraId:3,tocIndex:45},{value:"false",paraId:3,tocIndex:45},{value:"4.18.0",paraId:3,tocIndex:45},{value:"labelCol",paraId:3,tocIndex:45},{value:"label \u6807\u7B7E\u5E03\u5C40\uFF0C\u540C ",paraId:3,tocIndex:45},{value:"<Col>",paraId:3,tocIndex:45},{value:" \u7EC4\u4EF6\uFF0C\u8BBE\u7F6E ",paraId:3,tocIndex:45},{value:"span",paraId:3,tocIndex:45},{value:" ",paraId:3,tocIndex:45},{value:"offset",paraId:3,tocIndex:45},{value:" \u503C\uFF0C\u5982 ",paraId:3,tocIndex:45},{value:"{span: 3, offset: 12}",paraId:3,tocIndex:45},{value:" \u6216 ",paraId:3,tocIndex:45},{value:"sm: {span: 3, offset: 12}",paraId:3,tocIndex:45},{value:"object",paraId:8,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"layout",paraId:3,tocIndex:45},{value:"\u8868\u5355\u5E03\u5C40",paraId:3,tocIndex:45},{value:"horizontal",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"vertical",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"inline",paraId:3,tocIndex:45},{value:"horizontal",paraId:3,tocIndex:45},{value:"name",paraId:3,tocIndex:45},{value:"\u8868\u5355\u540D\u79F0\uFF0C\u4F1A\u4F5C\u4E3A\u8868\u5355\u5B57\u6BB5 ",paraId:3,tocIndex:45},{value:"id",paraId:3,tocIndex:45},{value:" \u524D\u7F00\u4F7F\u7528",paraId:3,tocIndex:45},{value:"string",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"preserve",paraId:3,tocIndex:45},{value:"\u5F53\u5B57\u6BB5\u88AB\u5220\u9664\u65F6\u4FDD\u7559\u5B57\u6BB5\u503C\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:3,tocIndex:45},{value:"getFieldsValue(true)",paraId:3,tocIndex:45},{value:" \u6765\u83B7\u53D6\u4FDD\u7559\u5B57\u6BB5\u503C",paraId:3,tocIndex:45},{value:"boolean",paraId:3,tocIndex:45},{value:"true",paraId:3,tocIndex:45},{value:"4.4.0",paraId:3,tocIndex:45},{value:"requiredMark",paraId:3,tocIndex:45},{value:"\u5FC5\u9009\u6837\u5F0F\uFF0C\u53EF\u4EE5\u5207\u6362\u4E3A\u5FC5\u9009\u6216\u8005\u53EF\u9009\u5C55\u793A\u6837\u5F0F\u3002\u6B64\u4E3A Form \u914D\u7F6E\uFF0CForm.Item \u65E0\u6CD5\u5355\u72EC\u914D\u7F6E",paraId:3,tocIndex:45},{value:"boolean | ",paraId:3,tocIndex:45},{value:"optional",paraId:3,tocIndex:45},{value:" | ((label: ReactNode, info: { required: boolean }) => ReactNode)",paraId:3,tocIndex:45},{value:"true",paraId:3,tocIndex:45},{value:"renderProps",paraId:3,tocIndex:45},{value:": 5.9.0",paraId:3,tocIndex:45},{value:"scrollToFirstError",paraId:3,tocIndex:45},{value:"\u63D0\u4EA4\u5931\u8D25\u81EA\u52A8\u6EDA\u52A8\u5230\u7B2C\u4E00\u4E2A\u9519\u8BEF\u5B57\u6BB5",paraId:3,tocIndex:45},{value:"boolean | ",paraId:3,tocIndex:45},{value:"Options",paraId:3,tocIndex:45},{value:" | { focus: boolean }",paraId:3,tocIndex:45},{value:"false",paraId:3,tocIndex:45},{value:"size",paraId:3,tocIndex:45},{value:"\u8BBE\u7F6E\u5B57\u6BB5\u7EC4\u4EF6\u7684\u5C3A\u5BF8\uFF08\u4EC5\u9650 antd \u7EC4\u4EF6\uFF09",paraId:3,tocIndex:45},{value:"small",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"middle",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"large",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"validateMessages",paraId:3,tocIndex:45},{value:"\u9A8C\u8BC1\u63D0\u793A\u6A21\u677F\uFF0C\u8BF4\u660E",paraId:3,tocIndex:45},{value:"\u89C1\u4E0B",paraId:9,tocIndex:45},{value:"ValidateMessages",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"validateTrigger",paraId:3,tocIndex:45},{value:"\u7EDF\u4E00\u8BBE\u7F6E\u5B57\u6BB5\u89E6\u53D1\u9A8C\u8BC1\u7684\u65F6\u673A",paraId:3,tocIndex:45},{value:"string | string[]",paraId:3,tocIndex:45},{value:"onChange",paraId:3,tocIndex:45},{value:"4.3.0",paraId:3,tocIndex:45},{value:"variant",paraId:3,tocIndex:45},{value:"\u8868\u5355\u5185\u63A7\u4EF6\u53D8\u4F53",paraId:3,tocIndex:45},{value:"outlined",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"borderless",paraId:3,tocIndex:45},{value:" | ",paraId:3,tocIndex:45},{value:"filled",paraId:3,tocIndex:45},{value:"outlined",paraId:3,tocIndex:45},{value:"5.13.0",paraId:3,tocIndex:45},{value:"wrapperCol",paraId:3,tocIndex:45},{value:"\u9700\u8981\u4E3A\u8F93\u5165\u63A7\u4EF6\u8BBE\u7F6E\u5E03\u5C40\u6837\u5F0F\u65F6\uFF0C\u4F7F\u7528\u8BE5\u5C5E\u6027\uFF0C\u7528\u6CD5\u540C labelCol",paraId:3,tocIndex:45},{value:"object",paraId:10,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"onFieldsChange",paraId:3,tocIndex:45},{value:"\u5B57\u6BB5\u66F4\u65B0\u65F6\u89E6\u53D1\u56DE\u8C03\u4E8B\u4EF6",paraId:3,tocIndex:45},{value:"function(changedFields, allFields)",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"onFinish",paraId:3,tocIndex:45},{value:"\u63D0\u4EA4\u8868\u5355\u4E14\u6570\u636E\u9A8C\u8BC1\u6210\u529F\u540E\u56DE\u8C03\u4E8B\u4EF6",paraId:3,tocIndex:45},{value:"function(values)",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"onFinishFailed",paraId:3,tocIndex:45},{value:"\u63D0\u4EA4\u8868\u5355\u4E14\u6570\u636E\u9A8C\u8BC1\u5931\u8D25\u540E\u56DE\u8C03\u4E8B\u4EF6",paraId:3,tocIndex:45},{value:"function({ values, errorFields, outOfDate })",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"onValuesChange",paraId:3,tocIndex:45},{value:"\u5B57\u6BB5\u503C\u66F4\u65B0\u65F6\u89E6\u53D1\u56DE\u8C03\u4E8B\u4EF6",paraId:3,tocIndex:45},{value:"function(changedValues, allValues)",paraId:3,tocIndex:45},{value:"-",paraId:3,tocIndex:45},{value:"clearOnDestroy",paraId:3,tocIndex:45},{value:"\u5F53\u8868\u5355\u88AB\u5378\u8F7D\u65F6\u6E05\u7A7A\u8868\u5355\u503C",paraId:3,tocIndex:45},{value:"boolean",paraId:3,tocIndex:45},{value:"false",paraId:3,tocIndex:45},{value:"5.18.0",paraId:3,tocIndex:45},{value:"\u652F\u6301\u539F\u751F form \u9664 ",paraId:11,tocIndex:45},{value:"onSubmit",paraId:11,tocIndex:45},{value:" \u5916\u7684\u6240\u6709\u5C5E\u6027\u3002",paraId:11,tocIndex:45},{value:"Form \u4E3A\u9A8C\u8BC1\u63D0\u4F9B\u4E86",paraId:12,tocIndex:46},{value:"\u9ED8\u8BA4\u7684\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",paraId:12,tocIndex:46},{value:"\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:12,tocIndex:46},{value:"validateMessages",paraId:12,tocIndex:46},{value:" \u5C5E\u6027\uFF0C\u4FEE\u6539\u5BF9\u5E94\u7684\u63D0\u793A\u6A21\u677F\u3002\u4E00\u79CD\u5E38\u89C1\u7684\u4F7F\u7528\u65B9\u5F0F\uFF0C\u662F\u914D\u7F6E\u56FD\u9645\u5316\u63D0\u793A\u4FE1\u606F\uFF1A",paraId:12,tocIndex:46},{value:"const validateMessages = {\n required: \"'${name}' \u662F\u5FC5\u9009\u5B57\u6BB5\",\n // ...\n};\n\n<Form validateMessages={validateMessages} />;\n",paraId:13,tocIndex:46},{value:"\u6B64\u5916\uFF0C",paraId:14,tocIndex:46},{value:"ConfigProvider",paraId:15,tocIndex:46},{value:" \u4E5F\u63D0\u4F9B\u4E86\u5168\u5C40\u5316\u914D\u7F6E\u65B9\u6848\uFF0C\u5141\u8BB8\u7EDF\u4E00\u914D\u7F6E\u9519\u8BEF\u63D0\u793A\u6A21\u677F\uFF1A",paraId:14,tocIndex:46},{value:"const validateMessages = {\n required: \"'${name}' \u662F\u5FC5\u9009\u5B57\u6BB5\",\n // ...\n};\n\n<ConfigProvider form={{ validateMessages }}>\n <Form />\n</ConfigProvider>;\n",paraId:16,tocIndex:46},{value:"\u8868\u5355\u5B57\u6BB5\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u6570\u636E\u53CC\u5411\u7ED1\u5B9A\u3001\u6821\u9A8C\u3001\u5E03\u5C40\u7B49\u3002",paraId:17,tocIndex:47},{value:"\u53C2\u6570",paraId:18,tocIndex:47},{value:"\u8BF4\u660E",paraId:18,tocIndex:47},{value:"\u7C7B\u578B",paraId:18,tocIndex:47},{value:"\u9ED8\u8BA4\u503C",paraId:18,tocIndex:47},{value:"\u7248\u672C",paraId:18,tocIndex:47},{value:"colon",paraId:18,tocIndex:47},{value:"\u914D\u5408 ",paraId:18,tocIndex:47},{value:"label",paraId:18,tocIndex:47},{value:" \u5C5E\u6027\u4F7F\u7528\uFF0C\u8868\u793A\u662F\u5426\u663E\u793A ",paraId:18,tocIndex:47},{value:"label",paraId:18,tocIndex:47},{value:" \u540E\u9762\u7684\u5192\u53F7",paraId:18,tocIndex:47},{value:"boolean",paraId:18,tocIndex:47},{value:"true",paraId:18,tocIndex:47},{value:"dependencies",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u4F9D\u8D56\u5B57\u6BB5\uFF0C\u8BF4\u660E",paraId:18,tocIndex:47},{value:"\u89C1\u4E0B",paraId:19,tocIndex:47},{value:"NamePath",paraId:20,tocIndex:47},{value:"[]",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"extra",paraId:18,tocIndex:47},{value:"\u989D\u5916\u7684\u63D0\u793A\u4FE1\u606F\uFF0C\u548C ",paraId:18,tocIndex:47},{value:"help",paraId:18,tocIndex:47},{value:" \u7C7B\u4F3C\uFF0C\u5F53\u9700\u8981\u9519\u8BEF\u4FE1\u606F\u548C\u63D0\u793A\u6587\u6848\u540C\u65F6\u51FA\u73B0\u65F6\uFF0C\u53EF\u4EE5\u4F7F\u7528\u8FD9\u4E2A\u3002",paraId:18,tocIndex:47},{value:"ReactNode",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"getValueFromEvent",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u5982\u4F55\u5C06 event \u7684\u503C\u8F6C\u6362\u6210\u5B57\u6BB5\u503C",paraId:18,tocIndex:47},{value:"(..args: any[]) => any",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"getValueProps",paraId:18,tocIndex:47},{value:"\u4E3A\u5B50\u5143\u7D20\u6DFB\u52A0\u989D\u5916\u7684\u5C5E\u6027 (\u4E0D\u5EFA\u8BAE\u901A\u8FC7 ",paraId:18,tocIndex:47},{value:"getValueProps",paraId:18,tocIndex:47},{value:" \u751F\u6210\u52A8\u6001\u51FD\u6570 prop\uFF0C\u8BF7\u76F4\u63A5\u5C06\u5176\u4F20\u9012\u7ED9\u5B50\u7EC4\u4EF6)",paraId:18,tocIndex:47},{value:"(value: any) => Record<string, any>",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"4.2.0",paraId:18,tocIndex:47},{value:"hasFeedback",paraId:18,tocIndex:47},{value:"\u914D\u5408 ",paraId:18,tocIndex:47},{value:"validateStatus",paraId:18,tocIndex:47},{value:" \u5C5E\u6027\u4F7F\u7528\uFF0C\u5C55\u793A\u6821\u9A8C\u72B6\u6001\u56FE\u6807\uFF0C\u5EFA\u8BAE\u53EA\u914D\u5408 Input \u7EC4\u4EF6\u4F7F\u7528 \u6B64\u5916\uFF0C\u5B83\u8FD8\u53EF\u4EE5\u901A\u8FC7 Icons \u5C5E\u6027\u83B7\u53D6\u53CD\u9988\u56FE\u6807\u3002",paraId:18,tocIndex:47},{value:"boolean | { icons: ",paraId:18,tocIndex:47},{value:"FeedbackIcons",paraId:21,tocIndex:47},{value:" }",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"icons: 5.9.0",paraId:18,tocIndex:47},{value:"help",paraId:18,tocIndex:47},{value:"\u63D0\u793A\u4FE1\u606F\uFF0C\u5982\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4F1A\u6839\u636E\u6821\u9A8C\u89C4\u5219\u81EA\u52A8\u751F\u6210",paraId:18,tocIndex:47},{value:"ReactNode",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"hidden",paraId:18,tocIndex:47},{value:"\u662F\u5426\u9690\u85CF\u5B57\u6BB5\uFF08\u4F9D\u7136\u4F1A\u6536\u96C6\u548C\u6821\u9A8C\u5B57\u6BB5\uFF09",paraId:18,tocIndex:47},{value:"boolean",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"4.4.0",paraId:18,tocIndex:47},{value:"htmlFor",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u5B50\u5143\u7D20 label ",paraId:18,tocIndex:47},{value:"htmlFor",paraId:18,tocIndex:47},{value:" \u5C5E\u6027",paraId:18,tocIndex:47},{value:"string",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"initialValue",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u5B50\u5143\u7D20\u9ED8\u8BA4\u503C\uFF0C\u5982\u679C\u4E0E Form \u7684 ",paraId:18,tocIndex:47},{value:"initialValues",paraId:18,tocIndex:47},{value:" \u51B2\u7A81\u5219\u4EE5 Form \u4E3A\u51C6",paraId:18,tocIndex:47},{value:"string",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"4.2.0",paraId:18,tocIndex:47},{value:"label",paraId:18,tocIndex:47},{value:"label",paraId:18,tocIndex:47},{value:" \u6807\u7B7E\u7684\u6587\u672C\uFF0C\u5F53\u4E0D\u9700\u8981 label \u53C8\u9700\u8981\u4E0E\u5192\u53F7\u5BF9\u9F50\uFF0C\u53EF\u4EE5\u8BBE\u4E3A null",paraId:18,tocIndex:47},{value:"ReactNode",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"null: 5.22.0",paraId:18,tocIndex:47},{value:"labelAlign",paraId:18,tocIndex:47},{value:"\u6807\u7B7E\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",paraId:18,tocIndex:47},{value:"left",paraId:18,tocIndex:47},{value:" | ",paraId:18,tocIndex:47},{value:"right",paraId:18,tocIndex:47},{value:"right",paraId:18,tocIndex:47},{value:"labelCol",paraId:18,tocIndex:47},{value:"label",paraId:18,tocIndex:47},{value:" \u6807\u7B7E\u5E03\u5C40\uFF0C\u540C ",paraId:18,tocIndex:47},{value:"<Col>",paraId:18,tocIndex:47},{value:" \u7EC4\u4EF6\uFF0C\u8BBE\u7F6E ",paraId:18,tocIndex:47},{value:"span",paraId:18,tocIndex:47},{value:" ",paraId:18,tocIndex:47},{value:"offset",paraId:18,tocIndex:47},{value:" \u503C\uFF0C\u5982 ",paraId:18,tocIndex:47},{value:"{span: 3, offset: 12}",paraId:18,tocIndex:47},{value:" \u6216 ",paraId:18,tocIndex:47},{value:"sm: {span: 3, offset: 12}",paraId:18,tocIndex:47},{value:"\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 Form \u7684 ",paraId:18,tocIndex:47},{value:"labelCol",paraId:18,tocIndex:47},{value:" \u8FDB\u884C\u7EDF\u4E00\u8BBE\u7F6E\uFF0C\u4E0D\u4F1A\u4F5C\u7528\u4E8E\u5D4C\u5957 Item\u3002\u5F53\u548C Form \u540C\u65F6\u8BBE\u7F6E\u65F6\uFF0C\u4EE5 Item \u4E3A\u51C6",paraId:18,tocIndex:47},{value:"object",paraId:22,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"messageVariables",paraId:18,tocIndex:47},{value:"\u9ED8\u8BA4\u9A8C\u8BC1\u5B57\u6BB5\u7684\u4FE1\u606F\uFF0C\u67E5\u770B",paraId:18,tocIndex:47},{value:"\u8BE6\u60C5",paraId:23,tocIndex:47},{value:"Record<string, string>",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"4.7.0",paraId:18,tocIndex:47},{value:"name",paraId:18,tocIndex:47},{value:"\u5B57\u6BB5\u540D\uFF0C\u652F\u6301\u6570\u7EC4",paraId:18,tocIndex:47},{value:"NamePath",paraId:24,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"normalize",paraId:18,tocIndex:47},{value:"\u7EC4\u4EF6\u83B7\u53D6\u503C\u540E\u8FDB\u884C\u8F6C\u6362\uFF0C\u518D\u653E\u5165 Form \u4E2D\u3002\u4E0D\u652F\u6301\u5F02\u6B65",paraId:18,tocIndex:47},{value:"(value, prevValue, prevValues) => any",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"noStyle",paraId:18,tocIndex:47},{value:"\u4E3A ",paraId:18,tocIndex:47},{value:"true",paraId:18,tocIndex:47},{value:" \u65F6\u4E0D\u5E26\u6837\u5F0F\uFF0C\u4F5C\u4E3A\u7EAF\u5B57\u6BB5\u63A7\u4EF6\u4F7F\u7528\u3002\u5F53\u81EA\u8EAB\u6CA1\u6709 ",paraId:18,tocIndex:47},{value:"validateStatus",paraId:18,tocIndex:47},{value:" \u800C\u7236\u5143\u7D20\u5B58\u5728\u6709 ",paraId:18,tocIndex:47},{value:"validateStatus",paraId:18,tocIndex:47},{value:" \u7684 Form.Item \u4F1A\u7EE7\u627F\u7236\u5143\u7D20\u7684 ",paraId:18,tocIndex:47},{value:"validateStatus",paraId:18,tocIndex:47},{value:"boolean",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"preserve",paraId:18,tocIndex:47},{value:"\u5F53\u5B57\u6BB5\u88AB\u5220\u9664\u65F6\u4FDD\u7559\u5B57\u6BB5\u503C",paraId:18,tocIndex:47},{value:"boolean",paraId:18,tocIndex:47},{value:"true",paraId:18,tocIndex:47},{value:"4.4.0",paraId:18,tocIndex:47},{value:"required",paraId:18,tocIndex:47},{value:"\u5FC5\u586B\u6837\u5F0F\u8BBE\u7F6E\u3002\u5982\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4F1A\u6839\u636E\u6821\u9A8C\u89C4\u5219\u81EA\u52A8\u751F\u6210",paraId:18,tocIndex:47},{value:"boolean",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"rules",paraId:18,tocIndex:47},{value:"\u6821\u9A8C\u89C4\u5219\uFF0C\u8BBE\u7F6E\u5B57\u6BB5\u7684\u6821\u9A8C\u903B\u8F91\u3002\u70B9\u51FB",paraId:18,tocIndex:47},{value:"\u6B64\u5904",paraId:25,tocIndex:47},{value:"\u67E5\u770B\u793A\u4F8B",paraId:18,tocIndex:47},{value:"Rule",paraId:26,tocIndex:47},{value:"[]",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"shouldUpdate",paraId:18,tocIndex:47},{value:"\u81EA\u5B9A\u4E49\u5B57\u6BB5\u66F4\u65B0\u903B\u8F91\uFF0C\u8BF4\u660E",paraId:18,tocIndex:47},{value:"\u89C1\u4E0B",paraId:27,tocIndex:47},{value:"boolean | (prevValue, curValue) => boolean",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"tooltip",paraId:18,tocIndex:47},{value:"\u914D\u7F6E\u63D0\u793A\u4FE1\u606F",paraId:18,tocIndex:47},{value:"ReactNode | ",paraId:18,tocIndex:47},{value:"TooltipProps & { icon: ReactNode }",paraId:28,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"4.7.0",paraId:18,tocIndex:47},{value:"trigger",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u6536\u96C6\u5B57\u6BB5\u503C\u53D8\u66F4\u7684\u65F6\u673A\u3002\u70B9\u51FB",paraId:18,tocIndex:47},{value:"\u6B64\u5904",paraId:29,tocIndex:47},{value:"\u67E5\u770B\u793A\u4F8B",paraId:18,tocIndex:47},{value:"string",paraId:18,tocIndex:47},{value:"onChange",paraId:18,tocIndex:47},{value:"validateFirst",paraId:18,tocIndex:47},{value:"\u5F53\u67D0\u4E00\u89C4\u5219\u6821\u9A8C\u4E0D\u901A\u8FC7\u65F6\uFF0C\u662F\u5426\u505C\u6B62\u5269\u4E0B\u7684\u89C4\u5219\u7684\u6821\u9A8C\u3002\u8BBE\u7F6E ",paraId:18,tocIndex:47},{value:"parallel",paraId:18,tocIndex:47},{value:" \u65F6\u4F1A\u5E76\u884C\u6821\u9A8C",paraId:18,tocIndex:47},{value:"boolean | ",paraId:18,tocIndex:47},{value:"parallel",paraId:18,tocIndex:47},{value:"false",paraId:18,tocIndex:47},{value:"parallel",paraId:18,tocIndex:47},{value:": 4.5.0",paraId:18,tocIndex:47},{value:"validateDebounce",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u9632\u6296\uFF0C\u5EF6\u8FDF\u6BEB\u79D2\u6570\u540E\u8FDB\u884C\u6821\u9A8C",paraId:18,tocIndex:47},{value:"number",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"5.9.0",paraId:18,tocIndex:47},{value:"validateStatus",paraId:18,tocIndex:47},{value:"\u6821\u9A8C\u72B6\u6001\uFF0C\u5982\u4E0D\u8BBE\u7F6E\uFF0C\u5219\u4F1A\u6839\u636E\u6821\u9A8C\u89C4\u5219\u81EA\u52A8\u751F\u6210\uFF0C\u53EF\u9009\uFF1A'success' 'warning' 'error' 'validating'",paraId:18,tocIndex:47},{value:"string",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"validateTrigger",paraId:18,tocIndex:47},{value:"\u8BBE\u7F6E\u5B57\u6BB5\u6821\u9A8C\u7684\u65F6\u673A",paraId:18,tocIndex:47},{value:"string | string[]",paraId:18,tocIndex:47},{value:"onChange",paraId:18,tocIndex:47},{value:"valuePropName",paraId:18,tocIndex:47},{value:"\u5B50\u8282\u70B9\u7684\u503C\u7684\u5C5E\u6027\u3002\u6CE8\u610F\uFF1ASwitch\u3001Checkbox \u7684 valuePropName \u5E94\u8BE5\u662F ",paraId:18,tocIndex:47},{value:"checked",paraId:18,tocIndex:47},{value:"\uFF0C\u5426\u5219\u65E0\u6CD5\u83B7\u53D6\u8FD9\u4E2A\u4E24\u4E2A\u7EC4\u4EF6\u7684\u503C\u3002\u8BE5\u5C5E\u6027\u4E3A ",paraId:18,tocIndex:47},{value:"getValueProps",paraId:18,tocIndex:47},{value:" \u7684\u5C01\u88C5\uFF0C\u81EA\u5B9A\u4E49 ",paraId:18,tocIndex:47},{value:"getValueProps",paraId:18,tocIndex:47},{value:" \u540E\u4F1A\u5931\u6548",paraId:18,tocIndex:47},{value:"string",paraId:18,tocIndex:47},{value:"value",paraId:18,tocIndex:47},{value:"wrapperCol",paraId:18,tocIndex:47},{value:"\u9700\u8981\u4E3A\u8F93\u5165\u63A7\u4EF6\u8BBE\u7F6E\u5E03\u5C40\u6837\u5F0F\u65F6\uFF0C\u4F7F\u7528\u8BE5\u5C5E\u6027\uFF0C\u7528\u6CD5\u540C ",paraId:18,tocIndex:47},{value:"labelCol",paraId:18,tocIndex:47},{value:"\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 Form \u7684 ",paraId:18,tocIndex:47},{value:"wrapperCol",paraId:18,tocIndex:47},{value:" \u8FDB\u884C\u7EDF\u4E00\u8BBE\u7F6E\uFF0C\u4E0D\u4F1A\u4F5C\u7528\u4E8E\u5D4C\u5957 Item\u3002\u5F53\u548C Form \u540C\u65F6\u8BBE\u7F6E\u65F6\uFF0C\u4EE5 Item \u4E3A\u51C6",paraId:18,tocIndex:47},{value:"object",paraId:30,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"layout",paraId:18,tocIndex:47},{value:"\u8868\u5355\u9879\u5E03\u5C40",paraId:18,tocIndex:47},{value:"horizontal",paraId:18,tocIndex:47},{value:" | ",paraId:18,tocIndex:47},{value:"vertical",paraId:18,tocIndex:47},{value:"-",paraId:18,tocIndex:47},{value:"5.18.0",paraId:18,tocIndex:47},{value:"\u88AB\u8BBE\u7F6E\u4E86 ",paraId:31,tocIndex:47},{value:"name",paraId:31,tocIndex:47},{value:" \u5C5E\u6027\u7684 ",paraId:31,tocIndex:47},{value:"Form.Item",paraId:31,tocIndex:47},{value:" \u5305\u88C5\u7684\u63A7\u4EF6\uFF0C\u8868\u5355\u63A7\u4EF6\u4F1A\u81EA\u52A8\u6DFB\u52A0 ",paraId:31,tocIndex:47},{value:"value",paraId:31,tocIndex:47},{value:"\uFF08\u6216 ",paraId:31,tocIndex:47},{value:"valuePropName",paraId:31,tocIndex:47},{value:" \u6307\u5B9A\u7684\u5176\u4ED6\u5C5E\u6027\uFF09 ",paraId:31,tocIndex:47},{value:"onChange",paraId:31,tocIndex:47},{value:"\uFF08\u6216 ",paraId:31,tocIndex:47},{value:"trigger",paraId:31,tocIndex:47},{value:" \u6307\u5B9A\u7684\u5176\u4ED6\u5C5E\u6027\uFF09\uFF0C\u6570\u636E\u540C\u6B65\u5C06\u88AB Form \u63A5\u7BA1\uFF0C\u8FD9\u4F1A\u5BFC\u81F4\u4EE5\u4E0B\u7ED3\u679C\uFF1A",paraId:31,tocIndex:47},{value:"\u4F60",paraId:32,tocIndex:47},{value:"\u4E0D\u518D\u9700\u8981\u4E5F\u4E0D\u5E94\u8BE5",paraId:32,tocIndex:47},{value:"\u7528 ",paraId:32,tocIndex:47},{value:"onChange",paraId:32,tocIndex:47},{value:" \u6765\u505A\u6570\u636E\u6536\u96C6\u540C\u6B65\uFF08\u4F60\u53EF\u4EE5\u4F7F\u7528 Form \u7684 ",paraId:32,tocIndex:47},{value:"onValuesChange",paraId:32,tocIndex:47},{value:"\uFF09\uFF0C\u4F46\u8FD8\u662F\u53EF\u4EE5\u7EE7\u7EED\u76D1\u542C ",paraId:32,tocIndex:47},{value:"onChange",paraId:32,tocIndex:47},{value:" \u4E8B\u4EF6\u3002",paraId:32,tocIndex:47},{value:"\u4F60\u4E0D\u80FD\u7528\u63A7\u4EF6\u7684 ",paraId:32,tocIndex:47},{value:"value",paraId:32,tocIndex:47},{value:" \u6216 ",paraId:32,tocIndex:47},{value:"defaultValue",paraId:32,tocIndex:47},{value:" \u7B49\u5C5E\u6027\u6765\u8BBE\u7F6E\u8868\u5355\u57DF\u7684\u503C\uFF0C\u9ED8\u8BA4\u503C\u53EF\u4EE5\u7528 Form \u91CC\u7684 ",paraId:32,tocIndex:47},{value:"initialValues",paraId:32,tocIndex:47},{value:" \u6765\u8BBE\u7F6E\u3002\u6CE8\u610F ",paraId:32,tocIndex:47},{value:"initialValues",paraId:32,tocIndex:47},{value:" \u4E0D\u80FD\u88AB ",paraId:32,tocIndex:47},{value:"setState",paraId:32,tocIndex:47},{value:" \u52A8\u6001\u66F4\u65B0\uFF0C\u4F60\u9700\u8981\u7528 ",paraId:32,tocIndex:47},{value:"setFieldsValue",paraId:32,tocIndex:47},{value:" \u6765\u66F4\u65B0\u3002",paraId:32,tocIndex:47},{value:"\u4F60\u4E0D\u5E94\u8BE5\u7528 ",paraId:32,tocIndex:47},{value:"setState",paraId:32,tocIndex:47},{value:"\uFF0C\u53EF\u4EE5\u4F7F\u7528 ",paraId:32,tocIndex:47},{value:"form.setFieldsValue",paraId:32,tocIndex:47},{value:" \u6765\u52A8\u6001\u6539\u53D8\u8868\u5355\u503C\u3002",paraId:32,tocIndex:47},{value:"\u5F53\u5B57\u6BB5\u95F4\u5B58\u5728\u4F9D\u8D56\u5173\u7CFB\u65F6\u4F7F\u7528\u3002\u5982\u679C\u4E00\u4E2A\u5B57\u6BB5\u8BBE\u7F6E\u4E86 ",paraId:33,tocIndex:48},{value:"dependencies",paraId:33,tocIndex:48},{value:" \u5C5E\u6027\u3002\u90A3\u4E48\u5B83\u6240\u4F9D\u8D56\u7684\u5B57\u6BB5\u66F4\u65B0\u65F6\uFF0C\u8BE5\u5B57\u6BB5\u5C06\u81EA\u52A8\u89E6\u53D1\u66F4\u65B0\u4E0E\u6821\u9A8C\u3002\u4E00\u79CD\u5E38\u89C1\u7684\u573A\u666F\uFF0C\u5C31\u662F\u6CE8\u518C\u7528\u6237\u8868\u5355\u7684\u201C\u5BC6\u7801\u201D\u4E0E\u201C\u786E\u8BA4\u5BC6\u7801\u201D\u5B57\u6BB5\u3002\u201C\u786E\u8BA4\u5BC6\u7801\u201D\u6821\u9A8C\u4F9D\u8D56\u4E8E\u201C\u5BC6\u7801\u201D\u5B57\u6BB5\uFF0C\u8BBE\u7F6E ",paraId:33,tocIndex:48},{value:"dependencies",paraId:33,tocIndex:48},{value:" \u540E\uFF0C\u201C\u5BC6\u7801\u201D\u5B57\u6BB5\u66F4\u65B0\u4F1A\u91CD\u65B0\u89E6\u53D1\u201C\u6821\u9A8C\u5BC6\u7801\u201D\u7684\u6821\u9A8C\u903B\u8F91\u3002\u4F60\u53EF\u4EE5\u53C2\u8003",paraId:33,tocIndex:48},{value:"\u5177\u4F53\u4F8B\u5B50",paraId:34,tocIndex:48},{value:"\u3002",paraId:33,tocIndex:48},{value:"dependencies",paraId:35,tocIndex:48},{value:" \u4E0D\u5E94\u548C ",paraId:35,tocIndex:48},{value:"shouldUpdate",paraId:35,tocIndex:48},{value:" \u4E00\u8D77\u4F7F\u7528\uFF0C\u56E0\u4E3A\u8FD9\u53EF\u80FD\u5E26\u6765\u66F4\u65B0\u903B\u8F91\u7684\u6DF7\u4E71\u3002",paraId:35,tocIndex:48},{value:"({ status: ValidateStatus, errors: ReactNode, warnings: ReactNode }) => Record<ValidateStatus, ReactNode>",paraId:36,tocIndex:49},{value:"Form \u901A\u8FC7\u589E\u91CF\u66F4\u65B0\u65B9\u5F0F\uFF0C\u53EA\u66F4\u65B0\u88AB\u4FEE\u6539\u7684\u5B57\u6BB5\u76F8\u5173\u7EC4\u4EF6\u4EE5\u8FBE\u5230\u6027\u80FD\u4F18\u5316\u76EE\u7684\u3002\u5927\u90E8\u5206\u573A\u666F\u4E0B\uFF0C\u4F60\u53EA\u9700\u8981\u7F16\u5199\u4EE3\u7801\u6216\u8005\u4E0E ",paraId:37,tocIndex:50},{value:"dependencies",paraId:38,tocIndex:50},{value:" \u5C5E\u6027\u914D\u5408\u6821\u9A8C\u5373\u53EF\u3002\u800C\u5728\u67D0\u4E9B\u7279\u5B9A\u573A\u666F\uFF0C\u4F8B\u5982\u4FEE\u6539\u67D0\u4E2A\u5B57\u6BB5\u503C\u540E\u51FA\u73B0\u65B0\u7684\u5B57\u6BB5\u9009\u9879\u3001\u6216\u8005\u7EAF\u7CB9\u5E0C\u671B\u8868\u5355\u4EFB\u610F\u53D8\u5316\u90FD\u5BF9\u67D0\u4E00\u4E2A\u533A\u57DF\u8FDB\u884C\u6E32\u67D3\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:37,tocIndex:50},{value:"shouldUpdate",paraId:37,tocIndex:50},{value:" \u4FEE\u6539 Form.Item \u7684\u66F4\u65B0\u903B\u8F91\u3002",paraId:37,tocIndex:50},{value:"\u5F53 ",paraId:39,tocIndex:50},{value:"shouldUpdate",paraId:39,tocIndex:50},{value:" \u4E3A ",paraId:39,tocIndex:50},{value:"true",paraId:39,tocIndex:50},{value:" \u65F6\uFF0CForm \u7684\u4EFB\u610F\u53D8\u5316\u90FD\u4F1A\u4F7F\u8BE5 Form.Item \u91CD\u65B0\u6E32\u67D3\u3002\u8FD9\u5BF9\u4E8E\u81EA\u5B9A\u4E49\u6E32\u67D3\u4E00\u4E9B\u533A\u57DF\u5341\u5206\u6709\u5E2E\u52A9\uFF0C\u8981\u6CE8\u610F Form.Item \u91CC\u5305\u88F9\u7684\u5B50\u7EC4\u4EF6\u5FC5\u987B\u7531\u51FD\u6570\u8FD4\u56DE\uFF0C\u5426\u5219 ",paraId:39,tocIndex:50},{value:"shouldUpdate",paraId:39,tocIndex:50},{value:" \u4E0D\u4F1A\u8D77\u4F5C\u7528\uFF1A",paraId:39,tocIndex:50},{value:"\u76F8\u5173issue\uFF1A",paraId:40,tocIndex:50},{value:"#34500",paraId:40,tocIndex:50},{value:"<Form.Item shouldUpdate>\n {() => {\n return <pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre>;\n }}\n</Form.Item>\n",paraId:41,tocIndex:50},{value:"\u4F60\u53EF\u4EE5\u53C2\u8003",paraId:42,tocIndex:50},{value:"\u793A\u4F8B",paraId:43,tocIndex:50},{value:"\u67E5\u770B\u5177\u4F53\u4F7F\u7528\u573A\u666F\u3002",paraId:42,tocIndex:50},{value:"\u5F53 ",paraId:44,tocIndex:50},{value:"shouldUpdate",paraId:44,tocIndex:50},{value:" \u4E3A\u65B9\u6CD5\u65F6\uFF0C\u8868\u5355\u7684\u6BCF\u6B21\u6570\u503C\u66F4\u65B0\u90FD\u4F1A\u8C03\u7528\u8BE5\u65B9\u6CD5\uFF0C\u63D0\u4F9B\u539F\u5148\u7684\u503C\u4E0E\u5F53\u524D\u7684\u503C\u4EE5\u4F9B\u4F60\u6BD4\u8F83\u662F\u5426\u9700\u8981\u66F4\u65B0\u3002\u8FD9\u5BF9\u4E8E\u662F\u5426\u6839\u636E\u503C\u6765\u6E32\u67D3\u989D\u5916\u5B57\u6BB5\u5341\u5206\u6709\u5E2E\u52A9\uFF1A",paraId:44,tocIndex:50},{value:'<Form.Item shouldUpdate={(prevValues, curValues) => prevValues.additional !== curValues.additional}>\n {() => {\n return (\n <Form.Item name="other">\n <Input />\n </Form.Item>\n );\n }}\n</Form.Item>\n',paraId:45,tocIndex:50},{value:"\u4F60\u53EF\u4EE5\u53C2\u8003",paraId:46,tocIndex:50},{value:"\u793A\u4F8B",paraId:47,tocIndex:50},{value:"\u67E5\u770B\u5177\u4F53\u4F7F\u7528\u573A\u666F\u3002",paraId:46,tocIndex:50},{value:"\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:48,tocIndex:51},{value:"messageVariables",paraId:48,tocIndex:51},{value:" \u4FEE\u6539 Form.Item \u7684\u9ED8\u8BA4\u9A8C\u8BC1\u4FE1\u606F\u3002",paraId:48,tocIndex:51},{value:"<Form>\n <Form.Item\n messageVariables={{ another: 'good' }}\n label=\"user\"\n rules={[{ required: true, message: '${another} is required' }]}\n >\n <Input />\n </Form.Item>\n <Form.Item\n messageVariables={{ label: 'good' }}\n label={<span>user</span>}\n rules={[{ required: true, message: '${label} is required' }]}\n >\n <Input />\n </Form.Item>\n</Form>\n",paraId:49,tocIndex:51},{value:"\u81EA ",paraId:50,tocIndex:51},{value:"5.20.2",paraId:50,tocIndex:51},{value:" \u8D77\uFF0C\u5F53\u4F60\u5E0C\u671B\u4E0D\u8981\u8F6C\u8BD1 ",paraId:50,tocIndex:51},{value:"${}",paraId:50,tocIndex:51},{value:" \u65F6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:50,tocIndex:51},{value:"\\\\${}",paraId:50,tocIndex:51},{value:" \u6765\u7565\u8FC7\uFF1A",paraId:50,tocIndex:51},{value:"{ required: true, message: '${label} is convert, \\\\${label} is not convert' }\n\n// good is convert, ${label} is not convert\n",paraId:51,tocIndex:51},{value:"\u4E3A\u5B57\u6BB5\u63D0\u4F9B\u6570\u7EC4\u5316\u7BA1\u7406\u3002",paraId:52,tocIndex:52},{value:"\u53C2\u6570",paraId:53,tocIndex:52},{value:"\u8BF4\u660E",paraId:53,tocIndex:52},{value:"\u7C7B\u578B",paraId:53,tocIndex:52},{value:"\u9ED8\u8BA4\u503C",paraId:53,tocIndex:52},{value:"\u7248\u672C",paraId:53,tocIndex:52},{value:"children",paraId:53,tocIndex:52},{value:"\u6E32\u67D3\u51FD\u6570",paraId:53,tocIndex:52},{value:"(fields: Field[], operation: { add, remove, move }, meta: { errors }) => React.ReactNode",paraId:53,tocIndex:52},{value:"-",paraId:53,tocIndex:52},{value:"initialValue",paraId:53,tocIndex:52},{value:"\u8BBE\u7F6E\u5B50\u5143\u7D20\u9ED8\u8BA4\u503C\uFF0C\u5982\u679C\u4E0E Form \u7684 ",paraId:53,tocIndex:52},{value:"initialValues",paraId:53,tocIndex:52},{value:" \u51B2\u7A81\u5219\u4EE5 Form \u4E3A\u51C6",paraId:53,tocIndex:52},{value:"any[]",paraId:53,tocIndex:52},{value:"-",paraId:53,tocIndex:52},{value:"4.9.0",paraId:53,tocIndex:52},{value:"name",paraId:53,tocIndex:52},{value:"\u5B57\u6BB5\u540D\uFF0C\u652F\u6301\u6570\u7EC4\u3002List \u672C\u8EAB\u4E5F\u662F\u5B57\u6BB5\uFF0C\u56E0\u800C ",paraId:53,tocIndex:52},{value:"getFieldsValue()",paraId:53,tocIndex:52},{value:" \u9ED8\u8BA4\u4F1A\u8FD4\u56DE List \u4E0B\u6240\u6709\u503C\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7",paraId:53,tocIndex:52},{value:"\u53C2\u6570",paraId:54,tocIndex:52},{value:"\u6539\u53D8\u8FD9\u4E00\u884C\u4E3A",paraId:53,tocIndex:52},{value:"NamePath",paraId:55,tocIndex:52},{value:"-",paraId:53,tocIndex:52},{value:"rules",paraId:53,tocIndex:52},{value:"\u6821\u9A8C\u89C4\u5219\uFF0C\u4EC5\u652F\u6301\u81EA\u5B9A\u4E49\u89C4\u5219\u3002\u9700\u8981\u914D\u5408 ",paraId:53,tocIndex:52},{value:"ErrorList",paraId:56,tocIndex:52},{value:" \u4E00\u540C\u4F7F\u7528\u3002",paraId:53,tocIndex:52},{value:"{ validator, message }[]",paraId:53,tocIndex:52},{value:"-",paraId:53,tocIndex:52},{value:"4.7.0",paraId:53,tocIndex:52},{value:"<Form.List>\n {(fields) =>\n fields.map((field) => (\n <Form.Item {...field}>\n <Input />\n </Form.Item>\n ))\n }\n</Form.List>\n",paraId:57,tocIndex:52},{value:"\u6CE8\u610F\uFF1AForm.List \u4E0B\u7684\u5B57\u6BB5\u4E0D\u5E94\u8BE5\u914D\u7F6E ",paraId:58,tocIndex:52},{value:"initialValue",paraId:58,tocIndex:52},{value:"\uFF0C\u4F60\u59CB\u7EC8\u5E94\u8BE5\u901A\u8FC7 Form.List \u7684 ",paraId:58,tocIndex:52},{value:"initialValue",paraId:58,tocIndex:52},{value:" \u6216\u8005 Form \u7684 ",paraId:58,tocIndex:52},{value:"initialValues",paraId:58,tocIndex:52},{value:" \u6765\u914D\u7F6E\u3002",paraId:58,tocIndex:52},{value:"Form.List \u6E32\u67D3\u8868\u5355\u76F8\u5173\u64CD\u4F5C\u51FD\u6570\u3002",paraId:59,tocIndex:53},{value:"\u53C2\u6570",paraId:60,tocIndex:53},{value:"\u8BF4\u660E",paraId:60,tocIndex:53},{value:"\u7C7B\u578B",paraId:60,tocIndex:53},{value:"\u9ED8\u8BA4\u503C",paraId:60,tocIndex:53},{value:"\u7248\u672C",paraId:60,tocIndex:53},{value:"add",paraId:60,tocIndex:53},{value:"\u65B0\u589E\u8868\u5355\u9879",paraId:60,tocIndex:53},{value:"(defaultValue?: any, insertIndex?: number) => void",paraId:60,tocIndex:53},{value:"insertIndex",paraId:60,tocIndex:53},{value:"4.6.0",paraId:60,tocIndex:53},{value:"move",paraId:60,tocIndex:53},{value:"\u79FB\u52A8\u8868\u5355\u9879",paraId:60,tocIndex:53},{value:"(from: number, to: number) => void",paraId:60,tocIndex:53},{value:"-",paraId:60,tocIndex:53},{value:"remove",paraId:60,tocIndex:53},{value:"\u5220\u9664\u8868\u5355\u9879",paraId:60,tocIndex:53},{value:"(index: number | number[]) => void",paraId:60,tocIndex:53},{value:"number[]",paraId:60,tocIndex:53},{value:"4.5.0",paraId:60,tocIndex:53},{value:"4.7.0 \u65B0\u589E\u3002\u9519\u8BEF\u5C55\u793A\u7EC4\u4EF6\uFF0C\u4EC5\u9650\u914D\u5408 Form.List \u7684 rules \u4E00\u540C\u4F7F\u7528\u3002\u53C2\u8003",paraId:61,tocIndex:54},{value:"\u793A\u4F8B",paraId:62,tocIndex:54},{value:"\u3002",paraId:61,tocIndex:54},{value:"\u53C2\u6570",paraId:63,tocIndex:54},{value:"\u8BF4\u660E",paraId:63,tocIndex:54},{value:"\u7C7B\u578B",paraId:63,tocIndex:54},{value:"\u9ED8\u8BA4\u503C",paraId:63,tocIndex:54},{value:"errors",paraId:63,tocIndex:54},{value:"\u9519\u8BEF\u5217\u8868",paraId:63,tocIndex:54},{value:"ReactNode[]",paraId:63,tocIndex:54},{value:"-",paraId:63,tocIndex:54},{value:"\u63D0\u4F9B\u8868\u5355\u95F4\u8054\u52A8\u529F\u80FD\uFF0C\u5176\u4E0B\u8BBE\u7F6E ",paraId:64,tocIndex:55},{value:"name",paraId:64,tocIndex:55},{value:" \u7684 Form \u66F4\u65B0\u65F6\uFF0C\u4F1A\u81EA\u52A8\u89E6\u53D1\u5BF9\u5E94\u4E8B\u4EF6\u3002\u67E5\u770B",paraId:64,tocIndex:55},{value:"\u793A\u4F8B",paraId:65,tocIndex:55},{value:"\u3002",paraId:64,tocIndex:55},{value:"\u53C2\u6570",paraId:66,tocIndex:55},{value:"\u8BF4\u660E",paraId:66,tocIndex:55},{value:"\u7C7B\u578B",paraId:66,tocIndex:55},{value:"\u9ED8\u8BA4\u503C",paraId:66,tocIndex:55},{value:"onFormChange",paraId:66,tocIndex:55},{value:"\u5B50\u8868\u5355\u5B57\u6BB5\u66F4\u65B0\u65F6\u89E6\u53D1",paraId:66,tocIndex:55},{value:"function(formName: string, info: { changedFields, forms })",paraId:66,tocIndex:55},{value:"-",paraId:66,tocIndex:55},{value:"onFormFinish",paraId:66,tocIndex:55},{value:"\u5B50\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",paraId:66,tocIndex:55},{value:"function(formName: string, info: { values, forms })",paraId:66,tocIndex:55},{value:"-",paraId:66,tocIndex:55},{value:'<Form.Provider\n onFormFinish={(name) => {\n if (name === \'form1\') {\n // Do something...\n }\n }}\n>\n <Form name="form1">...</Form>\n <Form name="form2">...</Form>\n</Form.Provider>\n',paraId:67,tocIndex:55},{value:"\u540D\u79F0",paraId:68,tocIndex:56},{value:"\u8BF4\u660E",paraId:68,tocIndex:56},{value:"\u7C7B\u578B",paraId:68,tocIndex:56},{value:"\u7248\u672C",paraId:68,tocIndex:56},{value:"getFieldError",paraId:68,tocIndex:56},{value:"\u83B7\u53D6\u5BF9\u5E94\u5B57\u6BB5\u540D\u7684\u9519\u8BEF\u4FE1\u606F",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:69,tocIndex:56},{value:") => string[]",paraId:68,tocIndex:56},{value:"getFieldInstance",paraId:68,tocIndex:56},{value:"\u83B7\u53D6\u5BF9\u5E94\u5B57\u6BB5\u5B9E\u4F8B",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:70,tocIndex:56},{value:") => any",paraId:68,tocIndex:56},{value:"4.4.0",paraId:68,tocIndex:56},{value:"getFieldsError",paraId:68,tocIndex:56},{value:"\u83B7\u53D6\u4E00\u7EC4\u5B57\u6BB5\u540D\u5BF9\u5E94\u7684\u9519\u8BEF\u4FE1\u606F\uFF0C\u8FD4\u56DE\u4E3A\u6570\u7EC4\u5F62\u5F0F",paraId:68,tocIndex:56},{value:"(nameList?: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:71,tocIndex:56},{value:"[]) => FieldError[]",paraId:68,tocIndex:56},{value:"getFieldsValue",paraId:68,tocIndex:56},{value:"\u83B7\u53D6\u4E00\u7EC4\u5B57\u6BB5\u540D\u5BF9\u5E94\u7684\u503C\uFF0C\u4F1A\u6309\u7167\u5BF9\u5E94\u7ED3\u6784\u8FD4\u56DE\u3002\u9ED8\u8BA4\u8FD4\u56DE\u73B0\u5B58\u5B57\u6BB5\u503C\uFF0C\u5F53\u8C03\u7528 ",paraId:68,tocIndex:56},{value:"getFieldsValue(true)",paraId:68,tocIndex:56},{value:" \u65F6\u8FD4\u56DE\u6240\u6709\u503C",paraId:68,tocIndex:56},{value:"GetFieldsValue",paraId:72,tocIndex:56},{value:"getFieldValue",paraId:68,tocIndex:56},{value:"\u83B7\u53D6\u5BF9\u5E94\u5B57\u6BB5\u540D\u7684\u503C",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:73,tocIndex:56},{value:") => any",paraId:68,tocIndex:56},{value:"isFieldsTouched",paraId:68,tocIndex:56},{value:"\u68C0\u67E5\u4E00\u7EC4\u5B57\u6BB5\u662F\u5426\u88AB\u7528\u6237\u64CD\u4F5C\u8FC7\uFF0C",paraId:68,tocIndex:56},{value:"allTouched",paraId:68,tocIndex:56},{value:" \u4E3A ",paraId:68,tocIndex:56},{value:"true",paraId:68,tocIndex:56},{value:" \u65F6\u68C0\u67E5\u662F\u5426\u6240\u6709\u5B57\u6BB5\u90FD\u88AB\u64CD\u4F5C\u8FC7",paraId:68,tocIndex:56},{value:"(nameList?: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:74,tocIndex:56},{value:"[], allTouched?: boolean) => boolean",paraId:68,tocIndex:56},{value:"isFieldTouched",paraId:68,tocIndex:56},{value:"\u68C0\u67E5\u5BF9\u5E94\u5B57\u6BB5\u662F\u5426\u88AB\u7528\u6237\u64CD\u4F5C\u8FC7",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:75,tocIndex:56},{value:") => boolean",paraId:68,tocIndex:56},{value:"isFieldValidating",paraId:68,tocIndex:56},{value:"\u68C0\u67E5\u5BF9\u5E94\u5B57\u6BB5\u662F\u5426\u6B63\u5728\u6821\u9A8C",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:76,tocIndex:56},{value:") => boolean",paraId:68,tocIndex:56},{value:"resetFields",paraId:68,tocIndex:56},{value:"\u91CD\u7F6E\u4E00\u7EC4\u5B57\u6BB5\u5230 ",paraId:68,tocIndex:56},{value:"initialValues",paraId:68,tocIndex:56},{value:"(fields?: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:77,tocIndex:56},{value:"[]) => void",paraId:68,tocIndex:56},{value:"scrollToField",paraId:68,tocIndex:56},{value:"\u6EDA\u52A8\u5230\u5BF9\u5E94\u5B57\u6BB5\u4F4D\u7F6E",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:78,tocIndex:56},{value:", options: ",paraId:68,tocIndex:56},{value:"ScrollOptions",paraId:68,tocIndex:56},{value:") => void",paraId:68,tocIndex:56},{value:"setFields",paraId:68,tocIndex:56},{value:"\u8BBE\u7F6E\u4E00\u7EC4\u5B57\u6BB5\u72B6\u6001",paraId:68,tocIndex:56},{value:"(fields: ",paraId:68,tocIndex:56},{value:"FieldData",paraId:79,tocIndex:56},{value:"[]) => void",paraId:68,tocIndex:56},{value:"setFieldValue",paraId:68,tocIndex:56},{value:"\u8BBE\u7F6E\u8868\u5355\u7684\u503C\uFF08\u8BE5\u503C\u5C06\u76F4\u63A5\u4F20\u5165 form store \u4E2D\u5E76\u4E14",paraId:68,tocIndex:56},{value:"\u91CD\u7F6E\u9519\u8BEF\u4FE1\u606F",paraId:68,tocIndex:56},{value:"\u3002\u5982\u679C\u4F60\u4E0D\u5E0C\u671B\u4F20\u5165\u5BF9\u8C61\u88AB\u4FEE\u6539\uFF0C\u8BF7\u514B\u9686\u540E\u4F20\u5165\uFF09",paraId:68,tocIndex:56},{value:"(name: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:80,tocIndex:56},{value:", value: any) => void",paraId:68,tocIndex:56},{value:"4.22.0",paraId:68,tocIndex:56},{value:"setFieldsValue",paraId:68,tocIndex:56},{value:"\u8BBE\u7F6E\u8868\u5355\u7684\u503C\uFF08\u8BE5\u503C\u5C06\u76F4\u63A5\u4F20\u5165 form store \u4E2D\u5E76\u4E14",paraId:68,tocIndex:56},{value:"\u91CD\u7F6E\u9519\u8BEF\u4FE1\u606F",paraId:68,tocIndex:56},{value:"\u3002\u5982\u679C\u4F60\u4E0D\u5E0C\u671B\u4F20\u5165\u5BF9\u8C61\u88AB\u4FEE\u6539\uFF0C\u8BF7\u514B\u9686\u540E\u4F20\u5165\uFF09\u3002\u5982\u679C\u4F60\u53EA\u60F3\u4FEE\u6539 Form.List \u4E2D\u5355\u9879\u503C\uFF0C\u8BF7\u901A\u8FC7 ",paraId:68,tocIndex:56},{value:"setFieldValue",paraId:68,tocIndex:56},{value:" \u8FDB\u884C\u6307\u5B9A",paraId:68,tocIndex:56},{value:"(values) => void",paraId:68,tocIndex:56},{value:"submit",paraId:68,tocIndex:56},{value:"\u63D0\u4EA4\u8868\u5355\uFF0C\u4E0E\u70B9\u51FB ",paraId:68,tocIndex:56},{value:"submit",paraId:68,tocIndex:56},{value:" \u6309\u94AE\u6548\u679C\u76F8\u540C",paraId:68,tocIndex:56},{value:"() => void",paraId:68,tocIndex:56},{value:"validateFields",paraId:68,tocIndex:56},{value:"\u89E6\u53D1\u8868\u5355\u9A8C\u8BC1\uFF0C\u8BBE\u7F6E ",paraId:68,tocIndex:56},{value:"recursive",paraId:68,tocIndex:56},{value:" \u65F6\u4F1A\u9012\u5F52\u6821\u9A8C\u6240\u6709\u5305\u542B\u7684\u8DEF\u5F84",paraId:68,tocIndex:56},{value:"(nameList?: ",paraId:68,tocIndex:56},{value:"NamePath",paraId:81,tocIndex:56},{value:"[], config?: ",paraId:68,tocIndex:56},{value:"ValidateConfig",paraId:82,tocIndex:56},{value:") => Promise",paraId:68,tocIndex:56},{value:"export interface ValidateConfig {\n // 5.5.0 \u65B0\u589E\u3002\u4EC5\u6821\u9A8C\u5185\u5BB9\u800C\u4E0D\u4F1A\u5C06\u9519\u8BEF\u4FE1\u606F\u5C55\u793A\u5230 UI \u4E0A\u3002\n validateOnly?: boolean;\n // 5.9.0 \u65B0\u589E\u3002\u5BF9\u63D0\u4F9B\u7684 `nameList` \u4E0E\u5176\u5B50\u8DEF\u5F84\u8FDB\u884C\u9012\u5F52\u6821\u9A8C\u3002\n recursive?: boolean;\n // 5.11.0 \u65B0\u589E\u3002\u6821\u9A8C dirty \u7684\u5B57\u6BB5\uFF08touched + validated\uFF09\u3002\n // \u4F7F\u7528 `dirty` \u53EF\u4EE5\u5F88\u65B9\u4FBF\u7684\u4EC5\u6821\u9A8C\u7528\u6237\u64CD\u4F5C\u8FC7\u548C\u88AB\u6821\u9A8C\u8FC7\u7684\u5B57\u6BB5\u3002\n dirty?: boolean;\n}\n",paraId:83,tocIndex:57},{value:"\u8FD4\u56DE\u793A\u4F8B\uFF1A",paraId:84,tocIndex:57},{value:"validateFields()\n .then((values) => {\n /*\n values:\n {\n username: 'username',\n password: 'password',\n }\n */\n })\n .catch((errorInfo) => {\n /*\n errorInfo:\n {\n values: {\n username: 'username',\n password: 'password',\n },\n errorFields: [\n { name: ['password'], errors: ['Please input your Password!'] },\n ],\n outOfDate: false,\n }\n */\n });\n",paraId:85,tocIndex:57},{value:"type Form.useForm = (): [FormInstance]",paraId:86,tocIndex:59},{value:"\u521B\u5EFA Form \u5B9E\u4F8B\uFF0C\u7528\u4E8E\u7BA1\u7406\u6240\u6709\u6570\u636E\u72B6\u6001\u3002",paraId:87,tocIndex:59},{value:"type Form.useFormInstance = (): FormInstance",paraId:88,tocIndex:60},{value:"4.20.0",paraId:89,tocIndex:60},{value:" \u65B0\u589E\uFF0C\u83B7\u53D6\u5F53\u524D\u4E0A\u4E0B\u6587\u6B63\u5728\u4F7F\u7528\u7684 Form \u5B9E\u4F8B\uFF0C\u5E38\u89C1\u4E8E\u5C01\u88C5\u5B50\u7EC4\u4EF6\u6D88\u8D39\u65E0\u9700\u900F\u4F20 Form \u5B9E\u4F8B\uFF1A",paraId:89,tocIndex:60},{value:"const Sub = () => {\n const form = Form.useFormInstance();\n\n return <Button onClick={() => form.setFieldsValue({})} />;\n};\n\nexport default () => {\n const [form] = Form.useForm();\n\n return (\n <Form form={form}>\n <Sub />\n </Form>\n );\n};\n",paraId:90,tocIndex:60},{value:"type Form.useWatch = (namePath: NamePath | (selector: (values: Store)) => any, formInstance?: FormInstance | WatchOptions): Value",paraId:91,tocIndex:61},{value:"5.12.0",paraId:92,tocIndex:61},{value:" \u65B0\u589E ",paraId:92,tocIndex:61},{value:"selector",paraId:92,tocIndex:61},{value:"\u7528\u4E8E\u76F4\u63A5\u83B7\u53D6 form \u4E2D\u5B57\u6BB5\u5BF9\u5E94\u7684\u503C\u3002\u901A\u8FC7\u8BE5 Hooks \u53EF\u4EE5\u4E0E\u8BF8\u5982 ",paraId:93,tocIndex:61},{value:"useSWR",paraId:93,tocIndex:61},{value:" \u8FDB\u884C\u8054\u52A8\u4ECE\u800C\u964D\u4F4E\u7EF4\u62A4\u6210\u672C\uFF1A",paraId:93,tocIndex:61},{value:"const Demo = () => {\n const [form] = Form.useForm();\n const userName = Form.useWatch('username', form);\n\n const { data: options } = useSWR(`/api/user/${userName}`, fetcher);\n\n return (\n <Form form={form}>\n <Form.Item name=\"username\">\n <AutoComplete options={options} />\n </Form.Item>\n </Form>\n );\n};\n",paraId:94,tocIndex:61},{value:"\u5982\u679C\u4F60\u7684\u7EC4\u4EF6\u88AB\u5305\u88F9\u5728 ",paraId:95,tocIndex:61},{value:"Form.Item",paraId:95,tocIndex:61},{value:" \u5185\u90E8\uFF0C\u4F60\u53EF\u4EE5\u7701\u7565\u7B2C\u4E8C\u4E2A\u53C2\u6570\uFF0C",paraId:95,tocIndex:61},{value:"Form.useWatch",paraId:95,tocIndex:61},{value:" \u4F1A\u81EA\u52A8\u627E\u5230\u4E0A\u5C42\u6700\u8FD1\u7684 ",paraId:95,tocIndex:61},{value:"FormInstance",paraId:95,tocIndex:61},{value:"\u3002",paraId:95,tocIndex:61},{value:"useWatch",paraId:96,tocIndex:61},{value:" \u9ED8\u8BA4\u53EA\u76D1\u542C\u5728 Form \u4E2D\u6CE8\u518C\u7684\u5B57\u6BB5\uFF0C\u5982\u679C\u9700\u8981\u76D1\u542C\u975E\u6CE8\u518C\u5B57\u6BB5\uFF0C\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:96,tocIndex:61},{value:"preserve",paraId:96,tocIndex:61},{value:" \u8FDB\u884C\u76D1\u542C\uFF1A",paraId:96,tocIndex:61},{value:"const Demo = () => {\n const [form] = Form.useForm();\n\n const age = Form.useWatch('age', { form, preserve: true });\n console.log(age);\n\n return (\n <div>\n <Button onClick={() => form.setFieldValue('age', 2)}>Update</Button>\n <Form form={form}>\n <Form.Item name=\"name\">\n <Input />\n </Form.Item>\n </Form>\n </div>\n );\n};\n",paraId:97,tocIndex:61},{value:"type Form.Item.useStatus = (): { status: ValidateStatus | undefined, errors: ReactNode[], warnings: ReactNode[] }",paraId:98,tocIndex:62},{value:"4.22.0",paraId:99,tocIndex:62},{value:" \u65B0\u589E\uFF0C\u53EF\u7528\u4E8E\u83B7\u53D6\u5F53\u524D Form.Item \u7684\u6821\u9A8C\u72B6\u6001\uFF0C\u5982\u679C\u4E0A\u5C42\u6CA1\u6709 Form.Item\uFF0C",paraId:99,tocIndex:62},{value:"status",paraId:99,tocIndex:62},{value:" \u5C06\u4F1A\u8FD4\u56DE ",paraId:99,tocIndex:62},{value:"undefined",paraId:99,tocIndex:62},{value:"\u3002",paraId:99,tocIndex:62},{value:"5.4.0",paraId:99,tocIndex:62},{value:" \u65B0\u589E ",paraId:99,tocIndex:62},{value:"errors",paraId:99,tocIndex:62},{value:" \u548C ",paraId:99,tocIndex:62},{value:"warnings",paraId:99,tocIndex:62},{value:"\uFF0C\u53EF\u7528\u4E8E\u83B7\u53D6\u5F53\u524D Form.Item \u7684\u9519\u8BEF\u4FE1\u606F\u548C\u8B66\u544A\u4FE1\u606F\uFF1A",paraId:99,tocIndex:62},{value:"const CustomInput = ({ value, onChange }) => {\n const { status, errors } = Form.Item.useStatus();\n return (\n <input\n value={value}\n onChange={onChange}\n className={`custom-input-${status}`}\n placeholder={(errors.length && errors[0]) || ''}\n />\n );\n};\n\nexport default () => (\n <Form>\n <Form.Item name=\"username\">\n <CustomInput />\n </Form.Item>\n </Form>\n);\n",paraId:100,tocIndex:62},{value:"Form \u4EC5\u4F1A\u5BF9\u53D8\u66F4\u7684 Field \u8FDB\u884C\u5237\u65B0\uFF0C\u4ECE\u800C\u907F\u514D\u5B8C\u6574\u7684\u7EC4\u4EF6\u5237\u65B0\u53EF\u80FD\u5F15\u53D1\u7684\u6027\u80FD\u95EE\u9898\u3002\u56E0\u800C\u4F60\u65E0\u6CD5\u5728 render \u9636\u6BB5\u901A\u8FC7 ",paraId:101,tocIndex:63},{value:"form.getFieldsValue",paraId:101,tocIndex:63},{value:" \u6765\u5B9E\u65F6\u83B7\u53D6\u5B57\u6BB5\u503C\uFF0C\u800C ",paraId:101,tocIndex:63},{value:"useWatch",paraId:101,tocIndex:63},{value:" \u63D0\u4F9B\u4E86\u4E00\u79CD\u7279\u5B9A\u5B57\u6BB5\u8BBF\u95EE\u7684\u65B9\u5F0F\uFF0C\u4ECE\u800C\u4F7F\u5F97\u5728\u5F53\u524D\u7EC4\u4EF6\u4E2D\u53EF\u4EE5\u76F4\u63A5\u6D88\u8D39\u5B57\u6BB5\u7684\u503C\u3002\u540C\u65F6\uFF0C\u5982\u679C\u4E3A\u4E86\u66F4\u597D\u7684\u6E32\u67D3\u6027\u80FD\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7 Field \u7684 renderProps \u4EC5\u66F4\u65B0\u9700\u8981\u66F4\u65B0\u7684\u90E8\u5206\u3002\u800C\u5F53\u5F53\u524D\u7EC4\u4EF6\u66F4\u65B0\u6216\u8005 effect \u90FD\u4E0D\u9700\u8981\u6D88\u8D39\u5B57\u6BB5\u503C\u65F6\uFF0C\u5219\u53EF\u4EE5\u901A\u8FC7 ",paraId:101,tocIndex:63},{value:"onValuesChange",paraId:101,tocIndex:63},{value:" \u5C06\u6570\u636E\u629B\u51FA\uFF0C\u4ECE\u800C\u907F\u514D\u7EC4\u4EF6\u66F4\u65B0\u3002",paraId:101,tocIndex:63},{value:"string | number | (string | number)[]",paraId:102,tocIndex:65},{value:"getFieldsValue",paraId:103,tocIndex:66},{value:" \u63D0\u4F9B\u4E86\u591A\u79CD\u91CD\u8F7D\u65B9\u6CD5\uFF1A",paraId:103,tocIndex:66},{value:"NamePath",paraId:104,tocIndex:66},{value:"\u5F53\u4E0D\u63D0\u4F9B ",paraId:105,tocIndex:67},{value:"nameList",paraId:105,tocIndex:67},{value:" \u65F6\uFF0C\u8FD4\u56DE\u6240\u6709\u6CE8\u518C\u5B57\u6BB5\uFF0C\u8FD9\u4E5F\u5305\u542B List \u4E0B\u6240\u6709\u7684\u503C\uFF08\u5373\u4FBF List \u4E0B\u6CA1\u6709\u7ED1\u5B9A Item\uFF09\u3002",paraId:105,tocIndex:67},{value:"\u5F53 ",paraId:106,tocIndex:67},{value:"nameList",paraId:106,tocIndex:67},{value:" \u4E3A ",paraId:106,tocIndex:67},{value:"true",paraId:106,tocIndex:67},{value:" \u65F6\uFF0C\u8FD4\u56DE store \u4E2D\u6240\u6709\u7684\u503C\uFF0C\u5305\u542B\u672A\u6CE8\u518C\u5B57\u6BB5\u3002\u4F8B\u5982\u901A\u8FC7 ",paraId:106,tocIndex:67},{value:"setFieldsValue",paraId:106,tocIndex:67},{value:" \u8BBE\u7F6E\u4E86\u4E0D\u5B58\u5728\u7684 Item \u7684\u503C\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7 ",paraId:106,tocIndex:67},{value:"true",paraId:106,tocIndex:67},{value:" \u5168\u90E8\u83B7\u53D6\u3002",paraId:106,tocIndex:67},{value:"\u5F53 ",paraId:107,tocIndex:67},{value:"nameList",paraId:107,tocIndex:67},{value:" \u4E3A\u6570\u7EC4\u65F6\uFF0C\u8FD4\u56DE\u89C4\u5B9A\u8DEF\u5F84\u7684\u503C\u3002\u9700\u8981\u6CE8\u610F\u7684\u662F\uFF0C",paraId:107,tocIndex:67},{value:"nameList",paraId:107,tocIndex:67},{value:" \u4E3A\u5D4C\u5957\u6570\u7EC4\u3002\u4F8B\u5982\u4F60\u9700\u8981\u67D0\u8DEF\u5F84\u503C\u5E94\u8BE5\u5982\u4E0B\uFF1A",paraId:107,tocIndex:67},{value:"// \u5355\u4E2A\u8DEF\u5F84\nform.getFieldsValue([['user', 'age']]);\n\n// \u591A\u4E2A\u8DEF\u5F84\nform.getFieldsValue([\n ['user', 'age'],\n ['preset', 'account'],\n]);\n",paraId:108,tocIndex:67},{value:"5.8.0",paraId:109,tocIndex:68},{value:" \u65B0\u589E\u63A5\u53D7\u914D\u7F6E\u53C2\u6570\u3002\u5F53 ",paraId:109,tocIndex:68},{value:"strict",paraId:109,tocIndex:68},{value:" \u4E3A ",paraId:109,tocIndex:68},{value:"true",paraId:109,tocIndex:68},{value:" \u65F6\u4F1A\u4EC5\u5339\u914D Item \u7684\u503C\u3002\u4F8B\u5982 ",paraId:109,tocIndex:68},{value:"{ list: [{ bamboo: 1, little: 2 }] }",paraId:109,tocIndex:68},{value:" \u4E2D\uFF0C\u5982\u679C List \u4EC5\u7ED1\u5B9A\u4E86 ",paraId:109,tocIndex:68},{value:"bamboo",paraId:109,tocIndex:68},{value:" \u5B57\u6BB5\uFF0C\u90A3\u4E48 ",paraId:109,tocIndex:68},{value:"getFieldsValue({ strict: true })",paraId:109,tocIndex:68},{value:" \u4F1A\u53EA\u83B7\u5F97 ",paraId:109,tocIndex:68},{value:"{ list: [{ bamboo: 1 }] }",paraId:109,tocIndex:68},{value:"\u3002",paraId:109,tocIndex:68},{value:"\u7528\u4E8E\u8FC7\u6EE4\u4E00\u4E9B\u5B57\u6BB5\u503C\uFF0C",paraId:110,tocIndex:69},{value:"meta",paraId:110,tocIndex:69},{value:" \u4F1A\u8FD4\u56DE\u5B57\u6BB5\u76F8\u5173\u4FE1\u606F\u3002\u4F8B\u5982\u53EF\u4EE5\u7528\u6765\u83B7\u53D6\u4EC5\u88AB\u7528\u6237\u4FEE\u6539\u8FC7\u7684\u503C\u7B49\u7B49\u3002",paraId:110,tocIndex:69},{value:"type FilterFunc = (meta: { touched: boolean; validating: boolean }) => boolean;\n",paraId:111,tocIndex:69},{value:"\u540D\u79F0",paraId:112,tocIndex:70},{value:"\u8BF4\u660E",paraId:112,tocIndex:70},{value:"\u7C7B\u578B",paraId:112,tocIndex:70},{value:"errors",paraId:112,tocIndex:70},{value:"\u9519\u8BEF\u4FE1\u606F",paraId:112,tocIndex:70},{value:"string[]",paraId:112,tocIndex:70},{value:"warnings",paraId:112,tocIndex:70},{value:"\u8B66\u544A\u4FE1\u606F",paraId:112,tocIndex:70},{value:"string[]",paraId:112,tocIndex:70},{value:"name",paraId:112,tocIndex:70},{value:"\u5B57\u6BB5\u540D\u79F0",paraId:112,tocIndex:70},{value:"NamePath",paraId:113,tocIndex:70},{value:"[]",paraId:112,tocIndex:70},{value:"touched",paraId:112,tocIndex:70},{value:"\u662F\u5426\u88AB\u7528\u6237\u64CD\u4F5C\u8FC7",paraId:112,tocIndex:70},{value:"boolean",paraId:112,tocIndex:70},{value:"validating",paraId:112,tocIndex:70},{value:"\u662F\u5426\u6B63\u5728\u6821\u9A8C",paraId:112,tocIndex:70},{value:"boolean",paraId:112,tocIndex:70},{value:"value",paraId:112,tocIndex:70},{value:"\u5B57\u6BB5\u5BF9\u5E94\u503C",paraId:112,tocIndex:70},{value:"any",paraId:112,tocIndex:70},{value:"Rule \u652F\u6301\u63A5\u6536 object \u8FDB\u884C\u914D\u7F6E\uFF0C\u4E5F\u652F\u6301 function \u6765\u52A8\u6001\u83B7\u53D6 form \u7684\u6570\u636E\uFF1A",paraId:114,tocIndex:71},{value:"type Rule = RuleConfig | ((form: FormInstance) => RuleConfig);\n",paraId:115,tocIndex:71},{value:"\u540D\u79F0",paraId:116,tocIndex:71},{value:"\u8BF4\u660E",paraId:116,tocIndex:71},{value:"\u7C7B\u578B",paraId:116,tocIndex:71},{value:"\u7248\u672C",paraId:116,tocIndex:71},{value:"defaultField",paraId:116,tocIndex:71},{value:"\u4EC5\u5728 ",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:" \u4E3A ",paraId:116,tocIndex:71},{value:"array",paraId:116,tocIndex:71},{value:" \u7C7B\u578B\u65F6\u6709\u6548\uFF0C\u7528\u4E8E\u6307\u5B9A\u6570\u7EC4\u5143\u7D20\u7684\u6821\u9A8C\u89C4\u5219",paraId:116,tocIndex:71},{value:"rule",paraId:117,tocIndex:71},{value:"enum",paraId:116,tocIndex:71},{value:"\u662F\u5426\u5339\u914D\u679A\u4E3E\u4E2D\u7684\u503C\uFF08\u9700\u8981\u5C06 ",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:" \u8BBE\u7F6E\u4E3A ",paraId:116,tocIndex:71},{value:"enum",paraId:116,tocIndex:71},{value:"\uFF09",paraId:116,tocIndex:71},{value:"any[]",paraId:116,tocIndex:71},{value:"fields",paraId:116,tocIndex:71},{value:"\u4EC5\u5728 ",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:" \u4E3A ",paraId:116,tocIndex:71},{value:"array",paraId:116,tocIndex:71},{value:" \u6216 ",paraId:116,tocIndex:71},{value:"object",paraId:116,tocIndex:71},{value:" \u7C7B\u578B\u65F6\u6709\u6548\uFF0C\u7528\u4E8E\u6307\u5B9A\u5B50\u5143\u7D20\u7684\u6821\u9A8C\u89C4\u5219",paraId:116,tocIndex:71},{value:"Record<string, ",paraId:116,tocIndex:71},{value:"rule",paraId:118,tocIndex:71},{value:">",paraId:116,tocIndex:71},{value:"len",paraId:116,tocIndex:71},{value:"string \u7C7B\u578B\u65F6\u4E3A\u5B57\u7B26\u4E32\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u786E\u5B9A\u6570\u5B57\uFF1B array \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u957F\u5EA6",paraId:116,tocIndex:71},{value:"number",paraId:116,tocIndex:71},{value:"max",paraId:116,tocIndex:71},{value:"\u5FC5\u987B\u8BBE\u7F6E ",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:"\uFF1Astring \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5927\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5927\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5927\u957F\u5EA6",paraId:116,tocIndex:71},{value:"number",paraId:116,tocIndex:71},{value:"message",paraId:116,tocIndex:71},{value:"\u9519\u8BEF\u4FE1\u606F\uFF0C\u4E0D\u8BBE\u7F6E\u65F6\u4F1A\u901A\u8FC7",paraId:116,tocIndex:71},{value:"\u6A21\u677F",paraId:119,tocIndex:71},{value:"\u81EA\u52A8\u751F\u6210",paraId:116,tocIndex:71},{value:"string",paraId:116,tocIndex:71},{value:"min",paraId:116,tocIndex:71},{value:"\u5FC5\u987B\u8BBE\u7F6E ",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:"\uFF1Astring \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5C0F\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5C0F\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5C0F\u957F\u5EA6",paraId:116,tocIndex:71},{value:"number",paraId:116,tocIndex:71},{value:"pattern",paraId:116,tocIndex:71},{value:"\u6B63\u5219\u8868\u8FBE\u5F0F\u5339\u914D",paraId:116,tocIndex:71},{value:"RegExp",paraId:116,tocIndex:71},{value:"required",paraId:116,tocIndex:71},{value:"\u662F\u5426\u4E3A\u5FC5\u9009\u5B57\u6BB5",paraId:116,tocIndex:71},{value:"boolean",paraId:116,tocIndex:71},{value:"transform",paraId:116,tocIndex:71},{value:"\u5C06\u5B57\u6BB5\u503C\u8F6C\u6362\u6210\u76EE\u6807\u503C\u540E\u8FDB\u884C\u6821\u9A8C",paraId:116,tocIndex:71},{value:"(value) => any",paraId:116,tocIndex:71},{value:"type",paraId:116,tocIndex:71},{value:"\u7C7B\u578B\uFF0C\u5E38\u89C1\u6709 ",paraId:116,tocIndex:71},{value:"string",paraId:116,tocIndex:71},{value:" |",paraId:116,tocIndex:71},{value:"number",paraId:116,tocIndex:71},{value:" |",paraId:116,tocIndex:71},{value:"boolean",paraId:116,tocIndex:71},{value:" |",paraId:116,tocIndex:71},{value:"url",paraId:116,tocIndex:71},{value:" | ",paraId:116,tocIndex:71},{value:"email",paraId:116,tocIndex:71},{value:"\u3002\u66F4\u591A\u8BF7\u53C2\u8003",paraId:116,tocIndex:71},{value:"\u6B64\u5904",paraId:116,tocIndex:71},{value:"string",paraId:116,tocIndex:71},{value:"validateTrigger",paraId:116,tocIndex:71},{value:"\u8BBE\u7F6E\u89E6\u53D1\u9A8C\u8BC1\u65F6\u673A\uFF0C\u5FC5\u987B\u662F Form.Item \u7684 ",paraId:116,tocIndex:71},{value:"validateTrigger",paraId:116,tocIndex:71},{value:" \u7684\u5B50\u96C6",paraId:116,tocIndex:71},{value:"string | string[]",paraId:116,tocIndex:71},{value:"validator",paraId:116,tocIndex:71},{value:"\u81EA\u5B9A\u4E49\u6821\u9A8C\uFF0C\u63A5\u6536 Promise \u4F5C\u4E3A\u8FD4\u56DE\u503C\u3002",paraId:116,tocIndex:71},{value:"\u793A\u4F8B",paraId:120,tocIndex:71},{value:"\u53C2\u8003",paraId:116,tocIndex:71},{value:"(",paraId:116,tocIndex:71},{value:"rule",paraId:121,tocIndex:71},{value:", value) => Promise",paraId:116,tocIndex:71},{value:"warningOnly",paraId:116,tocIndex:71},{value:"\u4EC5\u8B66\u544A\uFF0C\u4E0D\u963B\u585E\u8868\u5355\u63D0\u4EA4",paraId:116,tocIndex:71},{value:"boolean",paraId:116,tocIndex:71},{value:"4.17.0",paraId:116,tocIndex:71},{value:"whitespace",paraId:116,tocIndex:71},{value:"\u5982\u679C\u5B57\u6BB5\u4EC5\u5305\u542B\u7A7A\u683C\u5219\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u53EA\u5728 ",paraId:116,tocIndex:71},{value:"type: 'string'",paraId:116,tocIndex:71},{value:" \u65F6\u751F\u6548",paraId:116,tocIndex:71},{value:"boolean",paraId:116,tocIndex:71},{value:"\u540D\u79F0",paraId:122,tocIndex:72},{value:"\u8BF4\u660E",paraId:122,tocIndex:72},{value:"\u7C7B\u578B",paraId:122,tocIndex:72},{value:"\u9ED8\u8BA4\u503C",paraId:122,tocIndex:72},{value:"\u7248\u672C",paraId:122,tocIndex:72},{value:"form",paraId:122,tocIndex:72},{value:"\u6307\u5B9A Form \u5B9E\u4F8B",paraId:122,tocIndex:72},{value:"FormInstance",paraId:122,tocIndex:72},{value:"\u5F53\u524D context \u4E2D\u7684 Form",paraId:122,tocIndex:72},{value:"5.4.0",paraId:122,tocIndex:72},{value:"preserve",paraId:122,tocIndex:72},{value:"\u662F\u5426\u76D1\u89C6\u6CA1\u6709\u5BF9\u5E94\u7684 ",paraId:122,tocIndex:72},{value:"Form.Item",paraId:122,tocIndex:72},{value:" \u7684\u5B57\u6BB5",paraId:122,tocIndex:72},{value:"boolean",paraId:122,tocIndex:72},{value:"false",paraId:122,tocIndex:72},{value:"5.4.0",paraId:122,tocIndex:72},{value:"Form.Item \u9ED8\u8BA4\u7ED1\u5B9A\u503C\u5C5E\u6027\u5230 ",paraId:123,tocIndex:75},{value:"value",paraId:123,tocIndex:75},{value:" \u4E0A\uFF0C\u800C Switch\u3001Checkbox \u7B49\u7EC4\u4EF6\u7684\u503C\u5C5E\u6027\u4E3A ",paraId:123,tocIndex:75},{value:"checked",paraId:123,tocIndex:75},{value:"\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:123,tocIndex:75},{value:"valuePropName",paraId:123,tocIndex:75},{value:" \u6765\u4FEE\u6539\u7ED1\u5B9A\u7684\u503C\u5C5E\u6027\u3002",paraId:123,tocIndex:75},{value:'<Form.Item name="fieldA" valuePropName="checked">\n <Switch />\n</Form.Item>\n',paraId:124,tocIndex:75},{value:"\u5F53 ",paraId:125,tocIndex:76},{value:"name",paraId:125,tocIndex:76},{value:" \u4E3A\u6570\u7EC4\u65F6\uFF0C\u4F1A\u6309\u7167\u987A\u5E8F\u586B\u5145\u8DEF\u5F84\u3002\u5F53\u5B58\u5728\u6570\u5B57\u4E14 form store \u4E2D\u6CA1\u6709\u8BE5\u5B57\u6BB5\u65F6\u4F1A\u81EA\u52A8\u8F6C\u53D8\u6210\u6570\u7EC4\u3002\u56E0\u800C\u5982\u679C\u9700\u8981\u6570\u7EC4\u4E3A key \u65F6\u8BF7\u4F7F\u7528 string \u5982\uFF1A",paraId:125,tocIndex:76},{value:"['1', 'name']",paraId:125,tocIndex:76},{value:"\u3002",paraId:125,tocIndex:76},{value:"Warning: Instance created by ",paraId:126,tocIndex:77},{value:"useForm",paraId:126,tocIndex:77},{value:" is not connect to any Form element. Forget to pass ",paraId:126,tocIndex:77},{value:"form",paraId:126,tocIndex:77},{value:" prop?",paraId:126,tocIndex:77},{value:"\u8FD9\u662F\u56E0\u4E3A\u4F60\u5728\u8C03\u7528 form \u65B9\u6CD5\u65F6\uFF0CModal \u8FD8\u672A\u521D\u59CB\u5316\u5BFC\u81F4 form \u6CA1\u6709\u5173\u8054\u4EFB\u4F55 Form \u7EC4\u4EF6\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7\u7ED9 Modal \u8BBE\u7F6E ",paraId:127,tocIndex:77},{value:"forceRender",paraId:127,tocIndex:77},{value:" \u5C06\u5176\u9884\u6E32\u67D3\u3002\u793A\u4F8B\u70B9\u51FB",paraId:127,tocIndex:77},{value:"\u6B64\u5904",paraId:127,tocIndex:77},{value:"\u3002",paraId:127,tocIndex:77},{value:"defaultValue",paraId:128},{value:"\u5F53\u4F60\u4E3A Form.Item \u8BBE\u7F6E ",paraId:129,tocIndex:78},{value:"name",paraId:129,tocIndex:78},{value:" \u5C5E\u6027\u540E\uFF0C\u5B50\u7EC4\u4EF6\u4F1A\u8F6C\u4E3A\u53D7\u63A7\u6A21\u5F0F\u3002\u56E0\u800C ",paraId:129,tocIndex:78},{value:"defaultValue",paraId:129,tocIndex:78},{value:" \u4E0D\u4F1A\u751F\u6548\u3002\u4F60\u9700\u8981\u5728 Form \u4E0A\u901A\u8FC7 ",paraId:129,tocIndex:78},{value:"initialValues",paraId:129,tocIndex:78},{value:" \u8BBE\u7F6E\u9ED8\u8BA4\u503C\u3002",paraId:129,tocIndex:78},{value:"ref",paraId:128},{value:"ref",paraId:130,tocIndex:79},{value:" \u4EC5\u5728\u8282\u70B9\u88AB\u52A0\u8F7D\u65F6\u624D\u4F1A\u88AB\u8D4B\u503C\uFF0C\u8BF7\u53C2\u8003 React \u5B98\u65B9\u6587\u6863\uFF1A",paraId:130,tocIndex:79},{value:"https://reactjs.org/docs/refs-and-the-dom.html#accessing-refs",paraId:130,tocIndex:79},{value:"resetFields",paraId:128},{value:"resetFields",paraId:131,tocIndex:80},{value:" \u4F1A\u91CD\u7F6E\u6574\u4E2A Field\uFF0C\u56E0\u800C\u5176\u5B50\u7EC4\u4EF6\u4E5F\u4F1A\u91CD\u65B0 mount \u4ECE\u800C\u6D88\u9664\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u53EF\u80FD\u5B58\u5728\u7684\u526F\u4F5C\u7528\uFF08\u4F8B\u5982\u5F02\u6B65\u6570\u636E\u3001\u72B6\u6001\u7B49\u7B49\uFF09\u3002",paraId:131,tocIndex:80},{value:"\u5728\u5927\u90E8\u5206\u573A\u666F\u4E0B\uFF0C\u6211\u4EEC\u603B\u662F\u63A8\u8350\u4F18\u5148\u4F7F\u7528 Form \u7684 ",paraId:132,tocIndex:81},{value:"initialValues",paraId:132,tocIndex:81},{value:"\u3002\u53EA\u6709\u5B58\u5728\u52A8\u6001\u5B57\u6BB5\u65F6\u4F60\u624D\u5E94\u8BE5\u4F7F\u7528 Item \u7684 ",paraId:132,tocIndex:81},{value:"initialValue",paraId:132,tocIndex:81},{value:"\u3002\u9ED8\u8BA4\u503C\u9075\u5FAA\u4EE5\u4E0B\u89C4\u5219\uFF1A",paraId:132,tocIndex:81},{value:"Form \u7684 ",paraId:133,tocIndex:81},{value:"initialValues",paraId:133,tocIndex:81},{value:" \u62E5\u6709\u6700\u9AD8\u4F18\u5148\u7EA7",paraId:133,tocIndex:81},{value:"Field \u7684 ",paraId:133,tocIndex:81},{value:"initialValue",paraId:133,tocIndex:81},{value:" \u6B21\u4E4B *. \u591A\u4E2A\u540C ",paraId:133,tocIndex:81},{value:"name",paraId:133,tocIndex:81},{value:" Item \u90FD\u8BBE\u7F6E ",paraId:133,tocIndex:81},{value:"initialValue",paraId:133,tocIndex:81},{value:" \u65F6\uFF0C\u5219 Item \u7684 ",paraId:133,tocIndex:81},{value:"initialValue",paraId:133,tocIndex:81},{value:" \u4E0D\u751F\u6548",paraId:133,tocIndex:81},{value:"getFieldsValue",paraId:128},{value:"getFieldsValue",paraId:134,tocIndex:82},{value:" \u9ED8\u8BA4\u8FD4\u56DE\u6536\u96C6\u7684\u5B57\u6BB5\u6570\u636E\uFF0C\u800C\u5728\u521D\u6B21\u6E32\u67D3\u65F6 Form.Item \u8282\u70B9\u5C1A\u672A\u6E32\u67D3\uFF0C\u56E0\u800C\u65E0\u6CD5\u6536\u96C6\u5230\u6570\u636E\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:134,tocIndex:82},{value:"getFieldsValue(true)",paraId:134,tocIndex:82},{value:" \u6765\u83B7\u53D6\u6240\u6709\u5B57\u6BB5\u6570\u636E\u3002",paraId:134,tocIndex:82},{value:"setFieldsValue",paraId:128},{value:"undefined",paraId:128},{value:"\u5728 React \u4E2D\uFF0C",paraId:135,tocIndex:83},{value:"value",paraId:135,tocIndex:83},{value:" \u4ECE\u786E\u5B9A\u503C\u6539\u4E3A ",paraId:135,tocIndex:83},{value:"undefined",paraId:135,tocIndex:83},{value:" \u8868\u793A\u4ECE\u53D7\u63A7\u53D8\u4E3A\u975E\u53D7\u63A7\uFF0C\u56E0\u800C\u4E0D\u4F1A\u91CD\u7F6E\u5C55\u793A\u503C\uFF08\u4F46\u662F Form \u4E2D\u7684\u503C\u786E\u5B9E\u5DF2\u7ECF\u6539\u53D8\uFF09\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7 HOC \u6539\u53D8\u8FD9\u4E00\u903B\u8F91\uFF1A",paraId:135,tocIndex:83},{value:"const MyInput = ({\n // \u5F3A\u5236\u4FDD\u6301\u53D7\u63A7\u903B\u8F91\n value = '',\n ...rest\n}) => <input value={value} {...rest} />;\n\n<Form.Item name=\"my\">\n <MyInput />\n</Form.Item>;\n",paraId:136,tocIndex:83},{value:"rules",paraId:128},{value:"onFieldsChange",paraId:128},{value:"\u5B57\u6BB5\u9664\u4E86\u672C\u8EAB\u7684\u503C\u53D8\u5316\u5916\uFF0C\u6821\u9A8C\u4E5F\u662F\u5176\u72B6\u6001\u4E4B\u4E00\u3002\u56E0\u800C\u5728\u89E6\u53D1\u5B57\u6BB5\u53D8\u5316\u4F1A\u7ECF\u5386\u4EE5\u4E0B\u51E0\u4E2A\u9636\u6BB5\uFF1A",paraId:137,tocIndex:84},{value:"Trigger value change",paraId:138,tocIndex:84},{value:"Rule validating",paraId:138,tocIndex:84},{value:"Rule validated",paraId:138,tocIndex:84},{value:"\u5728\u89E6\u53D1\u8FC7\u7A0B\u4E2D\uFF0C\u8C03\u7528 ",paraId:139,tocIndex:84},{value:"isFieldValidating",paraId:139,tocIndex:84},{value:" \u4F1A\u7ECF\u5386 ",paraId:139,tocIndex:84},{value:"false",paraId:139,tocIndex:84},{value:" > ",paraId:139,tocIndex:84},{value:"true",paraId:139,tocIndex:84},{value:" > ",paraId:139,tocIndex:84},{value:"false",paraId:139,tocIndex:84},{value:" \u7684\u53D8\u5316\u8FC7\u7A0B\u3002",paraId:139,tocIndex:84},{value:"label",paraId:128},{value:"Form.List \u672C\u8EAB\u662F renderProps\uFF0C\u5185\u90E8\u6837\u5F0F\u975E\u5E38\u81EA\u7531\u3002\u56E0\u800C\u9ED8\u8BA4\u914D\u7F6E ",paraId:140,tocIndex:85},{value:"label",paraId:140,tocIndex:85},{value:" \u548C ",paraId:140,tocIndex:85},{value:"error",paraId:140,tocIndex:85},{value:" \u8282\u70B9\u5F88\u96BE\u4E0E\u4E4B\u914D\u5408\u3002\u5982\u679C\u4F60\u9700\u8981 antd \u6837\u5F0F\u7684 ",paraId:140,tocIndex:85},{value:"label",paraId:140,tocIndex:85},{value:"\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5916\u90E8\u5305\u88F9 Form.Item \u6765\u5B9E\u73B0\u3002",paraId:140,tocIndex:85},{value:"dependencies",paraId:128},{value:"Form.List \u4E0B\u7684\u5B57\u6BB5\u9700\u8981\u5305\u88F9 Form.List \u672C\u8EAB\u7684 ",paraId:141,tocIndex:86},{value:"name",paraId:141,tocIndex:86},{value:"\uFF0C\u6BD4\u5982\uFF1A",paraId:141,tocIndex:86},{value:"<Form.List name=\"users\">\n {(fields) =>\n fields.map((field) => (\n <React.Fragment key={field.key}>\n <Form.Item name={[field.name, 'name']} {...someRest1} />\n <Form.Item name={[field.name, 'age']} {...someRest1} />\n </React.Fragment>\n ))\n }\n</Form.List>\n",paraId:142,tocIndex:86},{value:"\u4F9D\u8D56\u5219\u662F\uFF1A",paraId:143,tocIndex:86},{value:"['users', 0, 'name']",paraId:143,tocIndex:86},{value:"normalize",paraId:128},{value:"React \u4E2D\u5F02\u6B65\u66F4\u65B0\u4F1A\u5BFC\u81F4\u53D7\u63A7\u7EC4\u4EF6\u4EA4\u4E92\u884C\u4E3A\u5F02\u5E38\u3002\u5F53\u7528\u6237\u4EA4\u4E92\u89E6\u53D1 ",paraId:144,tocIndex:87},{value:"onChange",paraId:144,tocIndex:87},{value:" \u540E\uFF0C\u901A\u8FC7\u5F02\u6B65\u6539\u53D8\u503C\u4F1A\u5BFC\u81F4\u7EC4\u4EF6 ",paraId:144,tocIndex:87},{value:"value",paraId:144,tocIndex:87},{value:" \u4E0D\u4F1A\u7ACB\u523B\u66F4\u65B0\uFF0C\u4F7F\u5F97\u7EC4\u4EF6\u5448\u73B0\u5047\u6B7B\u72B6\u6001\u3002\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u89E6\u53D1\u53D8\u66F4\uFF0C\u8BF7\u901A\u8FC7\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5B9E\u73B0\u5185\u90E8\u5F02\u6B65\u72B6\u6001\u3002",paraId:144,tocIndex:87},{value:"scrollToFirstError",paraId:128},{value:"scrollToField",paraId:128},{value:"\u4F7F\u7528\u4E86\u81EA\u5B9A\u4E49\u8868\u5355\u63A7\u4EF6",paraId:145,tocIndex:88},{value:"\u7C7B\u4F3C\u95EE\u9898\uFF1A",paraId:146,tocIndex:88},{value:"#28370",paraId:146,tocIndex:88},{value:" ",paraId:146,tocIndex:88},{value:"#27994",paraId:146,tocIndex:88},{value:"\u4ECE ",paraId:147,tocIndex:88},{value:"5.17.0",paraId:147,tocIndex:88},{value:" \u7248\u672C\u5F00\u59CB\uFF0C\u6ED1\u52A8\u64CD\u4F5C\u5C06\u4F18\u5148\u4F7F\u7528\u8868\u5355\u63A7\u4EF6\u5143\u7D20\u6240\u8F6C\u53D1\u7684 ref \u5143\u7D20\u3002\u56E0\u6B64\uFF0C\u5728\u8003\u8651\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u652F\u6301\u6821\u9A8C\u6EDA\u52A8\u65F6\uFF0C\u8BF7\u4F18\u5148\u8003\u8651\u5C06\u5176\u8F6C\u53D1\u7ED9\u8868\u5355\u63A7\u4EF6\u5143\u7D20\u3002",paraId:147,tocIndex:88},{value:"\u6EDA\u52A8\u4F9D\u8D56\u4E8E\u8868\u5355\u63A7\u4EF6\u5143\u7D20\u4E0A\u7ED1\u5B9A\u7684 ",paraId:148,tocIndex:88},{value:"id",paraId:148,tocIndex:88},{value:" \u5B57\u6BB5\uFF0C\u5982\u679C\u81EA\u5B9A\u4E49\u63A7\u4EF6\u6CA1\u6709\u5C06 ",paraId:148,tocIndex:88},{value:"id",paraId:148,tocIndex:88},{value:" \u8D4B\u5230\u6B63\u786E\u7684\u5143\u7D20\u4E0A\uFF0C\u8FD9\u4E2A\u529F\u80FD\u5C06\u5931\u6548\u3002\u4F60\u53EF\u4EE5\u53C2\u8003\u8FD9\u4E2A ",paraId:148,tocIndex:88},{value:"codesandbox",paraId:148,tocIndex:88},{value:"\u3002",paraId:148,tocIndex:88},{value:"\u9875\u9762\u5185\u6709\u591A\u4E2A\u8868\u5355",paraId:149,tocIndex:88},{value:"\u9875\u9762\u5185\u5982\u679C\u6709\u591A\u4E2A\u8868\u5355\uFF0C\u4E14\u5B58\u5728\u8868\u5355\u9879 ",paraId:150,tocIndex:88},{value:"name",paraId:150,tocIndex:88},{value:" \u91CD\u590D\uFF0C\u8868\u5355\u6EDA\u52A8\u5B9A\u4F4D\u53EF\u80FD\u4F1A\u67E5\u627E\u5230\u53E6\u4E00\u4E2A\u8868\u5355\u7684\u540C\u540D\u8868\u5355\u9879\u4E0A\u3002\u9700\u8981\u7ED9\u8868\u5355 ",paraId:150,tocIndex:88},{value:"Form",paraId:150,tocIndex:88},{value:" \u7EC4\u4EF6\u8BBE\u7F6E\u4E0D\u540C\u7684 ",paraId:150,tocIndex:88},{value:"name",paraId:150,tocIndex:88},{value:" \u4EE5\u533A\u5206\u3002",paraId:150,tocIndex:88},{value:"ref",paraId:128},{value:"\u5F53\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u4E0D\u652F\u6301 ",paraId:151,tocIndex:89},{value:"ref",paraId:151,tocIndex:89},{value:" \u65F6\uFF0CForm \u65E0\u6CD5\u83B7\u53D6\u5B50\u5143\u7D20\u771F\u5B9E DOM \u8282\u70B9\uFF0C\u800C\u901A\u8FC7\u5305\u88F9 Class Component \u8C03\u7528 ",paraId:151,tocIndex:89},{value:"findDOMNode",paraId:151,tocIndex:89},{value:" \u4F1A\u5728 React Strict Mode \u4E0B\u89E6\u53D1\u8B66\u544A\u3002\u56E0\u800C\u6211\u4EEC\u4F7F\u7528 id \u6765\u8FDB\u884C\u5143\u7D20\u5B9A\u4F4D\u3002",paraId:151,tocIndex:89},{value:"setFieldsValue",paraId:128},{value:"onFieldsChange",paraId:128},{value:"onValuesChange",paraId:128},{value:"\u662F\u7684\uFF0Cchange \u4E8B\u4EF6\u4EC5\u5F53\u7528\u6237\u4EA4\u4E92\u624D\u4F1A\u89E6\u53D1\u3002\u8BE5\u8BBE\u8BA1\u662F\u4E3A\u4E86\u9632\u6B62\u5728 change \u4E8B\u4EF6\u4E2D\u8C03\u7528 ",paraId:152,tocIndex:90},{value:"setFieldsValue",paraId:152,tocIndex:90},{value:" \u5BFC\u81F4\u7684\u5FAA\u73AF\u95EE\u9898\u3002\u5982\u679C\u4EC5\u4EC5\u9700\u8981\u7EC4\u4EF6\u5185\u6D88\u8D39\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:152,tocIndex:90},{value:"useWatch",paraId:152,tocIndex:90},{value:" \u6216\u8005 ",paraId:152,tocIndex:90},{value:"Field.renderProps",paraId:152,tocIndex:90},{value:" \u6765\u5B9E\u73B0\u3002",paraId:152,tocIndex:90},{value:"Form.Item \u5728\u6E32\u67D3\u65F6\u4F1A\u6CE8\u5165 ",paraId:153,tocIndex:91},{value:"value",paraId:153,tocIndex:91},{value:" \u4E0E ",paraId:153,tocIndex:91},{value:"onChange",paraId:153,tocIndex:91},{value:" \u4E8B\u4EF6\u7ED9\u5B50\u5143\u7D20\uFF0C\u5F53\u4F60\u7684\u5B57\u6BB5\u7EC4\u4EF6\u88AB\u5305\u88F9\u65F6\u5C5E\u6027\u5C06\u65E0\u6CD5\u4F20\u9012\u3002\u6240\u4EE5\u4EE5\u4E0B\u4EE3\u7801\u662F\u4E0D\u4F1A\u751F\u6548\u7684\uFF1A",paraId:153,tocIndex:91},{value:'<Form.Item name="input">\n <div>\n <h3>I am a wrapped Input</h3>\n <Input />\n </div>\n</Form.Item>\n',paraId:154,tocIndex:91},{value:"\u4F60\u53EF\u4EE5\u901A\u8FC7 HOC \u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5F62\u5F0F\u6765\u89E3\u51B3\u8FD9\u4E2A\u95EE\u9898\uFF1A",paraId:155,tocIndex:91},{value:'const MyInput = (props) => (\n <div>\n <h3>I am a wrapped Input</h3>\n <Input {...props} />\n </div>\n);\n\n<Form.Item name="input">\n <MyInput />\n</Form.Item>;\n',paraId:156,tocIndex:91},{value:"\u4F60\u53EF\u4EE5\u9605\u8BFB",paraId:157,tocIndex:92},{value:"\u300Aantd v4 Form \u4F7F\u7528\u5FC3\u5F97\u300B",paraId:157,tocIndex:92},{value:"\u83B7\u5F97\u4E00\u4E9B\u4F7F\u7528\u5E2E\u52A9\u4EE5\u53CA\u5EFA\u8BAE\u3002",paraId:157,tocIndex:92},{value:"\u60F3\u5728 DatePicker\u3001Switch \u4E5F\u4F7F\u7528 before\u3001after\uFF1F\u53EF\u4EE5\u53C2\u8003",paraId:157,tocIndex:92},{value:"\u300A\u5982\u4F55\u4F18\u96C5\u7684\u5BF9 Form.Item \u7684 children \u589E\u52A0 before\u3001after\u300B",paraId:157,tocIndex:92},{value:"\u3002",paraId:157,tocIndex:92},{value:"\u4F18\u96C5\u7684 Form + Modal \u7ED3\u5408\u4F7F\u7528\u65B9\u6848",paraId:157,tocIndex:92},{value:"\u300A\u5982\u4F55\u4F18\u96C5\u7684\u4F7F\u7528 Form + Modal\u300B",paraId:157,tocIndex:92},{value:"\u3002",paraId:157,tocIndex:92}];}}]); |