mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
1 line
34 KiB
JavaScript
1 line
34 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["79a52fa2"],{"79a52fa2":function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return I;}}),d("f5ac6a9c");let I=[{value:"\u4EE5\u4E0B\u6574\u7406\u4E86\u4E00\u4E9B Ant Design \u793E\u533A\u5E38\u89C1\u7684\u95EE\u9898\u548C\u5B98\u65B9\u7B54\u590D\uFF0C\u5728\u63D0\u95EE\u4E4B\u524D\u5EFA\u8BAE\u627E\u627E\u6709\u6CA1\u6709\u7C7B\u4F3C\u7684\u95EE\u9898\u3002\u6B64\u5916\u6211\u4EEC\u4E5F\u7EF4\u62A4\u4E86\u4E00\u4E2A\u53CD\u9988\u8F83\u591A ",paraId:0},{value:"FAQ issues \u6807\u7B7E",paraId:0},{value:" \u4EA6\u53EF\u53C2\u8003\u3002",paraId:0},{value:"undefined",paraId:1},{value:"null",paraId:1},{value:"antd",paraId:1},{value:"\u6709\u533A\u522B\u3002antd \u7EA6\u5B9A\uFF1A",paraId:2,tocIndex:0},{value:"undefined",paraId:2,tocIndex:0},{value:" \u662F\u975E\u53D7\u63A7\u7684\u6807\u5FD7\uFF0C",paraId:2,tocIndex:0},{value:"null",paraId:2,tocIndex:0},{value:" \u4F5C\u4E3A\u663E\u5F0F\u7684\u53D7\u63A7\u7A7A\u503C\u3002",paraId:2,tocIndex:0},{value:"\u5728\u8F93\u5165\u5143\u7D20\u4E2D\uFF0CReact \u8BA4\u4E3A ",paraId:3,tocIndex:0},{value:"undefined",paraId:3,tocIndex:0},{value:" \u548C ",paraId:3,tocIndex:0},{value:"null",paraId:3,tocIndex:0},{value:" \u90FD\u5C5E\u4E8E\u975E\u53D7\u63A7\u7684\u6807\u5FD7\u3002\u5F53 ",paraId:3,tocIndex:0},{value:"value",paraId:3,tocIndex:0},{value:" \u7531\u975E\u7A7A\u503C\u8F6C\u5316\u4E3A ",paraId:3,tocIndex:0},{value:"undefined",paraId:3,tocIndex:0},{value:" \u6216 ",paraId:3,tocIndex:0},{value:"null",paraId:3,tocIndex:0},{value:" \u65F6\uFF0C\u7EC4\u4EF6\u4E0D\u518D\u53D7\u63A7\uFF0C\u8FD9\u901A\u5E38\u662F\u4E00\u4E9B\u610F\u5916\u60C5\u51B5\u53D1\u751F\u7684\u539F\u56E0\u3002",paraId:3,tocIndex:0},{value:"\u4F46\u5728 antd \u4E2D\uFF0C\u6211\u4EEC\u5B9A\u4E49 ",paraId:4,tocIndex:0},{value:"undefined",paraId:4,tocIndex:0},{value:" \u4E3A\u975E\u53D7\u63A7\u7684\u6807\u5FD7\uFF0C\u800C ",paraId:4,tocIndex:0},{value:"null",paraId:4,tocIndex:0},{value:" \u5219\u4F5C\u4E3A\u663E\u5F0F\u7684\u53D7\u63A7\u7A7A\u503C\u3002\u4E3A\u7684\u662F\u5904\u7406 ",paraId:4,tocIndex:0},{value:"value",paraId:4,tocIndex:0},{value:" \u4E3A\u590D\u6742\u6570\u636E\u7C7B\u578B\u65F6\u7684\u6E05\u7A7A\uFF08\u5982 ",paraId:4,tocIndex:0},{value:"allowClear",paraId:4,tocIndex:0},{value:"\uFF09\u7F6E ",paraId:4,tocIndex:0},{value:"value",paraId:4,tocIndex:0},{value:" \u4E3A\u7A7A\u503C\u7B49\u573A\u666F\u3002\u5982\u679C\u9700\u8981\u8BA9\u7EC4\u4EF6\u53D7\u63A7\u4E14\u5E0C\u671B\u5C06 ",paraId:4,tocIndex:0},{value:"value",paraId:4,tocIndex:0},{value:" \u7F6E\u4E3A\u7A7A\u503C\uFF0C\u8BF7\u5C06 ",paraId:4,tocIndex:0},{value:"value",paraId:4,tocIndex:0},{value:" \u8BBE\u7F6E\u4E3A ",paraId:4,tocIndex:0},{value:"null",paraId:4,tocIndex:0},{value:"\u3002",paraId:4,tocIndex:0},{value:"\u6CE8\u610F\uFF1A\u5BF9\u4E8E\u7C7B ",paraId:5,tocIndex:0},{value:"Select",paraId:5,tocIndex:0},{value:" \u7EC4\u4EF6\u7684 ",paraId:5,tocIndex:0},{value:"options",paraId:5,tocIndex:0},{value:"\uFF0C\u6211\u4EEC",paraId:5,tocIndex:0},{value:"\u5F3A\u70C8\u4E0D\u5EFA\u8BAE",paraId:5,tocIndex:0},{value:"\u4F7F\u7528 ",paraId:5,tocIndex:0},{value:"undefined",paraId:5,tocIndex:0},{value:" \u548C ",paraId:5,tocIndex:0},{value:"null",paraId:5,tocIndex:0},{value:" \u4F5C\u4E3A ",paraId:5,tocIndex:0},{value:"option",paraId:5,tocIndex:0},{value:" \u4E2D\u7684 ",paraId:5,tocIndex:0},{value:"value",paraId:5,tocIndex:0},{value:"\uFF0C\u8BF7\u4F7F\u7528 ",paraId:5,tocIndex:0},{value:"string | number",paraId:5,tocIndex:0},{value:" \u4F5C\u4E3A ",paraId:5,tocIndex:0},{value:"option",paraId:5,tocIndex:0},{value:" \u7684 ",paraId:5,tocIndex:0},{value:"value",paraId:5,tocIndex:0},{value:"\u3002",paraId:5,tocIndex:0},{value:"\u4E0D\u63A8\u8350\u3002\u5BF9\u5185\u63A5\u53E3\u4E0D\u4FDD\u8BC1\u517C\u5BB9\u6027\uFF0C\u5B83\u5F88\u53EF\u80FD\u5728\u67D0\u4E2A\u7248\u672C\u4E2D\u56E0\u91CD\u6784\u800C\u79FB\u9664\u3002\u5982\u679C\u4F60\u786E\u5B9E\u9700\u8981\u4F7F\u7528\uFF0C\u9700\u81EA\u884C\u786E\u4FDD\u7248\u672C\u5347\u7EA7\u65F6\u9690\u85CF\u63A5\u53E3\u4ECD\u65E7\u53EF\u7528\uFF0C\u6216\u8005\u9501\u5B9A\u7248\u672C\u3002",paraId:6,tocIndex:1},{value:"\u6211\u4EEC\u5728\u6DFB\u52A0 API \u65F6\u5341\u5206\u8C28\u614E\uFF0C\u56E0\u4E3A\u4E00\u4E9B API \u53EF\u80FD\u4E0D\u591F\u62BD\u8C61\u4ECE\u800C\u53D8\u6210\u5386\u53F2\u503A\u52A1\u3002\u4F8B\u5982\u5F53\u9700\u8981\u5BF9\u4EA4\u4E92\u65B9\u5F0F\u8FDB\u884C\u66F4\u6539\uFF0C\u8FD9\u4E9B\u4E0D\u826F\u62BD\u8C61\u53EF\u80FD\u4F1A\u5F15\u53D1 Breaking Change\u3002\u4E3A\u4E86\u907F\u514D\u8BF8\u5982\u6B64\u7C7B\u95EE\u9898\uFF0C\u6211\u4EEC\u63A8\u8350\u65B0\u529F\u80FD\u4F18\u5148\u901A\u8FC7 HOC \u5B9E\u73B0\u3002",paraId:7,tocIndex:2},{value:"Select Dropdown DatePicker TimePicker Popover Popconfirm",paraId:1},{value:"\u8BE5\u95EE\u9898\u5728 ",paraId:8,tocIndex:3},{value:"3.11.0",paraId:8,tocIndex:3},{value:" \u540E\u5DF2\u7ECF\u89E3\u51B3\u3002\u5982\u679C\u4F60\u4ECD\u5728\u4F7F\u7528\u65E7\u7248\u672C\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:8,tocIndex:3},{value:"<Select getPopupContainer={trigger => trigger.parentElement}>",paraId:8,tocIndex:3},{value:" \u6765\u5728 Popover \u4E2D\u6E32\u67D3\u7EC4\u4EF6\uFF0C\u6216\u8005\u4F7F\u7528\u5176\u4ED6\u7684 ",paraId:8,tocIndex:3},{value:"getXxxxContainer",paraId:8,tocIndex:3},{value:" \u53C2\u6570\u3002",paraId:8,tocIndex:3},{value:"\u53EF\u4EE5\u53C2\u8003 ",paraId:9,tocIndex:3},{value:"Select \u5C5E\u6027",paraId:10,tocIndex:3},{value:"\u76F8\u5173 issue\uFF1A",paraId:11,tocIndex:3},{value:"#3487",paraId:11,tocIndex:3},{value:" ",paraId:11,tocIndex:3},{value:"#3438",paraId:11,tocIndex:3},{value:"Select Dropdown DatePicker TimePicker Popover Popconfirm",paraId:1},{value:"\u4F7F\u7528 ",paraId:12,tocIndex:4},{value:"<Select getPopupContainer={trigger => trigger.parentElement}>",paraId:12,tocIndex:4},{value:"\uFF08",paraId:12,tocIndex:4},{value:"API \u6587\u6863",paraId:13,tocIndex:4},{value:"\uFF09\u6765\u5C06\u7EC4\u4EF6\u6E32\u67D3\u5230\u6EDA\u52A8\u533A\u57DF\u5185\uFF0C\u6216\u8005\u4F7F\u7528\u5176\u4ED6\u7684 ",paraId:12,tocIndex:4},{value:"getXxxxContainer",paraId:12,tocIndex:4},{value:" \u53C2\u6570\u3002\u5982\u679C\u9700\u8981\u5168\u5C40\u89E3\u51B3\u8FD9\u4E2A\u95EE\u9898\uFF0C\u53EF\u4EE5\u4F7F\u7528 ",paraId:12,tocIndex:4},{value:"<ConfigProvider getPopupContainer={trigger => trigger.parentElement}>",paraId:12,tocIndex:4},{value:"\uFF08",paraId:12,tocIndex:4},{value:"API \u6587\u6863",paraId:14,tocIndex:4},{value:"\uFF09",paraId:12,tocIndex:4},{value:"\u5E76\u4E14\u4FDD\u8BC1 parentElement \u662F ",paraId:15,tocIndex:4},{value:"position: relative",paraId:15,tocIndex:4},{value:" \u6216 ",paraId:15,tocIndex:4},{value:"position: absolute",paraId:15,tocIndex:4},{value:"\u3002",paraId:15,tocIndex:4},{value:"\u76F8\u5173 issue\uFF1A",paraId:16,tocIndex:4},{value:"#3487",paraId:16,tocIndex:4},{value:" ",paraId:16,tocIndex:4},{value:"#3438",paraId:16,tocIndex:4},{value:"\u53EF\u4EE5\u53C2\u8003",paraId:17,tocIndex:5},{value:"\u5B9A\u5236\u4E3B\u9898",paraId:18,tocIndex:5},{value:"\u3002",paraId:17,tocIndex:5},{value:"\u4F60\u53EF\u4EE5\u8986\u76D6\u5B83\u4EEC\u7684\u6837\u5F0F\uFF0C\u4F46\u662F\u6211\u4EEC\u4E0D\u63A8\u8350\u8FD9\u4E48\u505A\u3002antd \u662F\u4E00\u7CFB\u5217 React \u7EC4\u4EF6\uFF0C\u4F46\u540C\u6837\u662F\u4E00\u5957\u8BBE\u8BA1\u89C4\u8303\u3002",paraId:19,tocIndex:6},{value:"antd \u5728 minor \u548C patch \u7248\u672C\u8FED\u4EE3\u4E2D\u4F1A\u907F\u514D\u5F15\u5165\u7834\u574F\u6027\u53D8\u66F4\uFF0C\u9075\u4ECE\u4EE5\u4E0B\u539F\u5219\u4F1A\u786E\u4FDD\u4E0D\u4F1A\u7834\u574F\u4F60\u7684\u4EE3\u7801\uFF1A",paraId:20,tocIndex:7},{value:"\u4F7F\u7528\u51FA\u73B0\u5728\u5B98\u65B9 Demo \u4E2D\u7684\u5199\u6CD5",paraId:21,tocIndex:7},{value:"FAQ \u4E2D\u51FA\u73B0\u7684\u89E3\u6CD5\uFF0C\u5305\u542B\u4EE3\u7801\u7247\u6BB5\u4EE5\u53CA codesandbox \u793A\u4F8B\u3001issue \u4E2D\u5F53\u524D\u7248\u672C\u6807\u8BB0 FAQ label \u7684",paraId:21,tocIndex:7},{value:"\u800C\u4E0B\u8FF0\u53D8\u66F4\u5219\u9700\u8981\u5F00\u53D1\u8005\u81EA\u884C\u6821\u9A8C\uFF1A",paraId:22,tocIndex:7},{value:"\u7279\u5B9A\u573A\u666F\u7684\u9519\u8BEF\u7528\u6CD5\uFF0CBUG as Feature\uFF08\u4F8B\u5982 Tabs \u4E0B\u76F4\u63A5\u5305 div \u7684\u7528\u6CD5\uFF09",paraId:23,tocIndex:7},{value:"\u53EF\u4EE5\u901A\u8FC7\u6B63\u5E38\u7528\u6CD5\u5B9E\u73B0\u529F\u80FD\u9700\u6C42\u5374\u9B54\u6539\u7684",paraId:23,tocIndex:7},{value:"\u53EF\u4EE5\u53C2\u8003",paraId:24,tocIndex:8},{value:"\u4F7F\u7528\u81EA\u5B9A\u4E49\u65E5\u671F\u5E93",paraId:25,tocIndex:8},{value:"\u3002",paraId:24,tocIndex:8},{value:"defaultValue",paraId:1},{value:"Input",paraId:26,tocIndex:9},{value:"/",paraId:26,tocIndex:9},{value:"Select",paraId:26,tocIndex:9},{value:" \u7B49\u7684 ",paraId:26,tocIndex:9},{value:"defaultXxxx",paraId:26,tocIndex:9},{value:"\uFF08\u4F8B\u5982 ",paraId:26,tocIndex:9},{value:"defaultValue",paraId:26,tocIndex:9},{value:"\uFF09\u53EA\u6709\u5728\u7B2C\u4E00\u6B21\u6E32\u67D3\u7684\u65F6\u5019\u6709\u6548\uFF0C\u8FD9\u662F React \u7684\u89C4\u8303\uFF0C\u8BF7\u9605\u8BFB ",paraId:26,tocIndex:9},{value:"React \u7684\u6587\u6863",paraId:26,tocIndex:9},{value:"\u3002",paraId:26,tocIndex:9},{value:"antd \u5185\u90E8\u4F1A\u5BF9 props \u8FDB\u884C\u6D45\u6BD4\u8F83\u5B9E\u73B0\u6027\u80FD\u4F18\u5316\u3002\u5F53\u72B6\u6001\u53D8\u66F4\uFF0C\u4F60\u603B\u662F\u5E94\u8BE5\u4F20\u9012\u4E00\u4E2A\u65B0\u7684\u5BF9\u8C61\u3002\u5177\u4F53\u8BF7\u53C2\u8003 ",paraId:27,tocIndex:10},{value:"React \u7684\u6587\u6863",paraId:27,tocIndex:10},{value:"Input",paraId:1},{value:"Select",paraId:1},{value:"value",paraId:1},{value:"\u5C1D\u8BD5\u4F7F\u7528 ",paraId:28,tocIndex:11},{value:"onChange",paraId:28,tocIndex:11},{value:" \u6765\u6539\u53D8 ",paraId:28,tocIndex:11},{value:"value",paraId:28,tocIndex:11},{value:"\uFF0C\u8BF7\u53C2\u8003 ",paraId:28,tocIndex:11},{value:"React \u7684\u6587\u6863",paraId:28,tocIndex:11},{value:"\u3002",paraId:28,tocIndex:11},{value:"\u5C1D\u8BD5\u4F7F\u7528 ",paraId:29,tocIndex:12},{value:"Space",paraId:30,tocIndex:12},{value:" \u7EC4\u4EF6\u6765\u4F7F\u4ED6\u4EEC\u5BF9\u9F50\u3002",paraId:29,tocIndex:12},{value:"\u662F\u7684\uFF0Cantd \u5728\u8BBE\u8BA1\u7684\u65F6\u5019\u5C31\u662F\u7528\u6765\u5F00\u53D1\u4E00\u4E2A\u5B8C\u6574\u7684\u5E94\u7528\u7684\uFF0C\u4E3A\u4E86\u65B9\u4FBF\uFF0C\u6211\u4EEC\u8986\u76D6\u4E86\u4E00\u4E9B\u5168\u5C40\u6837\u5F0F\uFF0C\u73B0\u5728\u8FD8\u4E0D\u80FD\u79FB\u9664\uFF0C\u60F3\u8981\u4E86\u89E3\u66F4\u591A\u8BF7\u8FFD\u8E2A ",paraId:31,tocIndex:13},{value:"\u8FD9\u4E2A issue",paraId:31,tocIndex:13},{value:"\uFF0C\u6216\u8005\u53C2\u8003\u8FD9\u4E2A\u6559\u7A0B ",paraId:31,tocIndex:13},{value:"How to avoid modifying global styles?",paraId:32,tocIndex:13},{value:"antd",paraId:1},{value:"antd",paraId:1},{value:"\u90A3\u5565\uFF0C\u8BD5\u8BD5 ",paraId:33,tocIndex:14},{value:"npmmirror \u56FD\u5185\u955C\u50CF",paraId:33,tocIndex:14},{value:" \u548C ",paraId:33,tocIndex:14},{value:"cnpm",paraId:33,tocIndex:14},{value:"\u3002",paraId:33,tocIndex:14},{value:"dependencies.antd",paraId:1},{value:"\u5F53\u7136\u6CA1\u7528\u4E86\uFF0C\u8BF7\u4F7F\u7528 npm \u5B89\u88C5 ",paraId:34,tocIndex:15},{value:"antd",paraId:34,tocIndex:15},{value:"\u3002",paraId:34,tocIndex:15},{value:"message",paraId:1},{value:"notification",paraId:1},{value:"\u4E0D\uFF0C\u56E0\u4E3A ",paraId:35,tocIndex:16},{value:"message",paraId:35,tocIndex:16},{value:" \u662F\u4E00\u4E2A\u51FD\u6570\uFF0C\u800C\u4E0D\u662F\u4E00\u4E2A React \u7EC4\u4EF6\u3002",paraId:35,tocIndex:16},{value:"antd",paraId:1},{value:"\u8BF7\u6D4F\u89C8 ",paraId:36,tocIndex:17},{value:"Ant Design Mobile",paraId:36,tocIndex:17},{value:" \u4EE5\u4E86\u89E3\u8BE6\u60C5\uFF0C",paraId:36,tocIndex:17},{value:"antd",paraId:36,tocIndex:17},{value:" \u5E76\u975E\u9488\u5BF9\u79FB\u52A8\u7AEF\u8BBE\u8BA1\u3002\u4F60\u53EF\u4EE5\u8BD5\u8BD5 ",paraId:36,tocIndex:17},{value:"react-component",paraId:36,tocIndex:17},{value:"\uFF0C\u5176\u4E2D\u5E26\u6709 'm-' 'rn-' \u524D\u7F00\u7684\u5E93\u662F\u4E3A\u79FB\u52A8\u7AEF\u8BBE\u8BA1\u7684\u3002",paraId:36,tocIndex:17},{value:"antd",paraId:1},{value:"\u6709\u7684\uFF0C\u4F60\u53EF\u4EE5\u8BBF\u95EE ",paraId:37,tocIndex:18},{value:"https://ant-design.antgroup.com/index-cn",paraId:37,tocIndex:18},{value:" \u3002",paraId:37,tocIndex:18},{value:"\u4EA7\u54C1/\u7248\u672C",paraId:38,tocIndex:18},{value:"\u5730\u5740",paraId:38,tocIndex:18},{value:"Ant Design 5.x",paraId:38,tocIndex:18},{value:"https://ant-design.antgroup.com",paraId:38,tocIndex:18},{value:"Ant Design 4.x",paraId:38,tocIndex:18},{value:"https://4x-ant-design.antgroup.com",paraId:38,tocIndex:18},{value:"Ant Design Mobile",paraId:38,tocIndex:18},{value:"https://ant-design-mobile.antgroup.com/zh",paraId:38,tocIndex:18},{value:"Ant Design Mini",paraId:38,tocIndex:18},{value:"https://ant-design-mini.antgroup.com",paraId:38,tocIndex:18},{value:"Ant Design Charts",paraId:38,tocIndex:18},{value:"https://ant-design-charts.antgroup.com",paraId:38,tocIndex:18},{value:"AntV",paraId:38,tocIndex:18},{value:"https://antv.antgroup.com",paraId:38,tocIndex:18},{value:"antd",paraId:1},{value:"React",paraId:1},{value:"\u53EF\u4EE5\uFF0C",paraId:39,tocIndex:19},{value:"\u4F60\u53EF\u4EE5\u7528 script \u6807\u7B7E\u5F15\u5165",paraId:39,tocIndex:19},{value:"\u3002\u4F46\u662F\u6211\u4EEC\u63A8\u8350\u4F7F\u7528 ",paraId:39,tocIndex:19},{value:"npm",paraId:39,tocIndex:19},{value:" \u6765\u5F15\u5165 ",paraId:39,tocIndex:19},{value:"antd",paraId:39,tocIndex:19},{value:"\uFF0C\u8FD9\u6837\u7EF4\u62A4\u8D77\u6765\u66F4\u7B80\u5355\u65B9\u4FBF\u3002",paraId:39,tocIndex:19},{value:"icon",paraId:1},{value:"\u4F60\u5E94\u8BE5\u81EA\u884C\u90E8\u7F72 iconfont \u6587\u4EF6\u5230\u4F60\u7684\u7F51\u7EDC\u4E0A\uFF0C\u53C2\u8003\u8FD9\u4E2A",paraId:40,tocIndex:20},{value:"\u4F8B\u5B50",paraId:40,tocIndex:20},{value:"\u3002 ",paraId:40,tocIndex:20},{value:"#1070",paraId:40,tocIndex:20},{value:"\u5728 ",paraId:41,tocIndex:20},{value:"3.9.x",paraId:41,tocIndex:20},{value:" \u7248\u672C\u540E\uFF0C",paraId:41,tocIndex:20},{value:"\u6211\u4EEC\u4F1A\u4F7F\u7528 svg \u56FE\u6807",paraId:42,tocIndex:20},{value:"\uFF0C\u4F60\u5C31\u4E0D\u7528\u62C5\u5FC3\u672C\u5730\u90E8\u7F72 iconfont \u7684\u95EE\u9898\u4E86\uFF01",paraId:41,tocIndex:20},{value:"\u5982\u679C\u4F60\u9700\u8981\u4E00\u4E9B antd \u6CA1\u6709\u5305\u542B\u7684\u529F\u80FD\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7 ",paraId:43,tocIndex:21},{value:"HOC",paraId:43,tocIndex:21},{value:" \u62D3\u5C55 antd \u7684\u7EC4\u4EF6\u3002 ",paraId:43,tocIndex:21},{value:"\u66F4\u591A",paraId:43,tocIndex:21},{value:"antd \u5BF9\u65B0\u589E\u7EC4\u4EF6\u9700\u6C42\u4F1A\u8FDB\u884C\u4E25\u683C\u7684\u8BA8\u8BBA\uFF0C\u4EE5\u9632\u6B62 API \u8150\u8D25\u800C\u53D8\u4E3A",paraId:44,tocIndex:21},{value:"\u5386\u53F2\u503A\u52A1",paraId:45,tocIndex:21},{value:"\u3002antd \u4FA7\u5BF9\u4E8E API \u4E5F\u66F4\u503E\u5411\u4E8E\u63D0\u4F9B\u539F\u5B50\u5316\u7684\u80FD\u529B\u4F7F\u5F00\u53D1\u8005\u53EF\u4EE5\u66F4\u7075\u6D3B\u7684\u5B9A\u5236\u81EA\u5DF1\u6240\u9700\u8981\u7684\u529F\u80FD\u3002",paraId:44,tocIndex:21},{value:"antd \u4F1A\u900F\u51FA\u57FA\u672C\u7EC4\u4EF6\u5B9A\u4E49\u3002\u5BF9\u4E8E\u672A\u900F\u51FA\u5C5E\u6027\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7 antd \u63D0\u4F9B\u7684\u5DE5\u5177\u7C7B\u578B\u6765\u83B7\u53D6\u3002\u4F8B\u5982\uFF1A",paraId:46,tocIndex:22},{value:"import type { Checkbox, CheckboxProps, GetProp, GetProps, GetRef, Input } from 'antd';\n\n// Get Props\ntype CheckboxGroupProps = GetProps<typeof Checkbox.Group>;\n\n// Get Prop\ntype CheckboxValue = GetProp<CheckboxProps, 'value'>;\n\n// Get Ref\ntype InputRef = GetRef<typeof Input>;\n",paraId:47,tocIndex:22},{value:"\u8BF7\u5C1D\u8BD5\u4F7F\u7528 ",paraId:48,tocIndex:23},{value:"ConfigProvider",paraId:49,tocIndex:23},{value:" \u7EC4\u4EF6\u6765\u5305\u88F9\u4F60\u7684\u5E94\u7528\u3002",paraId:48,tocIndex:23},{value:"\u5982\u679C\u65E5\u671F\u7EC4\u4EF6\u7684\u56FD\u9645\u5316\u4ECD\u672A\u751F\u6548\uFF0C\u8BF7\u914D\u7F6E ",paraId:50,tocIndex:23},{value:"dayjs.locale('zh-cn')",paraId:50,tocIndex:23},{value:" \u5E76",paraId:50,tocIndex:23},{value:"\u68C0\u67E5\u4F60\u672C\u5730\u7684 ",paraId:50,tocIndex:23},{value:"dayjs",paraId:50,tocIndex:23},{value:" \u7248\u672C\u548C ",paraId:50,tocIndex:23},{value:"antd",paraId:50,tocIndex:23},{value:" \u4F9D\u8D56\u7684 ",paraId:50,tocIndex:23},{value:"dayjs",paraId:50,tocIndex:23},{value:" \u7248\u672C\u662F\u5426\u4E00\u81F4",paraId:50,tocIndex:23},{value:"\u3002",paraId:50,tocIndex:23},{value:"\u8BF7\u68C0\u67E5\u662F\u5426\u6B63\u786E\u8BBE\u7F6E\u4E86 dayjs \u8BED\u8A00\u5305\u3002",paraId:51,tocIndex:24},{value:"import dayjs from 'dayjs';\n\nimport 'dayjs/locale/zh-cn';\n\ndayjs.locale('zh-cn');\n",paraId:52,tocIndex:24},{value:"\u5982\u679C\u8FD8\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u6709\u4E24\u4E2A\u7248\u672C\u7684 dayjs \u5171\u5B58\uFF1F",paraId:53,tocIndex:24},{value:"npm ls dayjs\n",paraId:54,tocIndex:24},{value:"\u4E00\u822C\u6765\u8BF4\uFF0C\u5982\u679C\u9879\u76EE\u4E2D\u4F9D\u8D56\u7684 dayjs \u7248\u672C\u548C ",paraId:55,tocIndex:24},{value:"antd \u4F9D\u8D56\u7684 dayjs \u7248\u672C",paraId:55,tocIndex:24},{value:" \u65E0\u6CD5\u517C\u5BB9\uFF08semver \u65E0\u6CD5\u5339\u914D\uFF0C\u6BD4\u5982\u9879\u76EE\u4E2D\u7684 dayjs \u7248\u672C\u5199\u6B7B\u4E14\u8F83\u4F4E\uFF09\uFF0C\u5219\u4F1A\u5BFC\u81F4\u4F7F\u7528\u4E24\u4E2A\u4E0D\u540C\u7248\u672C\u7684 dayjs \u5B9E\u4F8B\uFF0C\u8FD9\u6837\u4E5F\u4F1A\u5BFC\u81F4\u56FD\u9645\u5316\u5931\u6548\u3002",paraId:55,tocIndex:24},{value:"\u4F60\u53EF\u4EE5\u901A\u8FC7 ",paraId:56,tocIndex:25},{value:"ConfigProvider",paraId:57,tocIndex:25},{value:" \u6765\u914D\u7F6E ",paraId:56,tocIndex:25},{value:"nonce",paraId:56,tocIndex:25},{value:" \u5C5E\u6027\u3002",paraId:56,tocIndex:25},{value:"mode",paraId:1},{value:"\u5728\u4E1A\u52A1\u5F00\u53D1\u4E2D\uFF0C\u4F60\u53EF\u80FD\u6709\u5E74\u4EFD\u9009\u62E9\uFF0C\u6708\u4EFD\u8303\u56F4\u9009\u62E9\uFF0C\u5468\u8303\u56F4\u9009\u62E9\u7B49\u9700\u6C42\uFF0C\u6B64\u65F6\u4F60\u7ED9\u73B0\u6709\u7EC4\u4EF6\u589E\u52A0\u4E86 ",paraId:58,tocIndex:26},{value:"mode",paraId:58,tocIndex:26},{value:" \u5C5E\u6027\uFF0C\u5374\u53D1\u73B0\u65E0\u6CD5\u8FDB\u884C\u70B9\u51FB\u9009\u62E9\u884C\u4E3A\uFF0C\u9762\u677F\u4E5F\u4E0D\u4F1A\u5173\u95ED\u3002\u5982\u679C\u7ED9\u9762\u677F\u6DFB\u52A0 ",paraId:58,tocIndex:26},{value:"disabledDate",paraId:58,tocIndex:26},{value:" \u4E5F\u4E0D\u4F1A\u76F8\u5E94\u7981\u7528\u5BF9\u5E94\u7684\u5E74/\u6708/\u5468\u3002",paraId:58,tocIndex:26},{value:"\u91CD\u73B0\u94FE\u63A5\uFF1A",paraId:59,tocIndex:26},{value:"https://codesandbox.io/s/dank-brook-v1csy",paraId:59,tocIndex:26},{value:"\u76F8\u540C issue\uFF1A",paraId:59,tocIndex:26},{value:"#15572",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#16436",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#11938",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#11735",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#11586",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#10425",paraId:59,tocIndex:26},{value:"\u3001",paraId:59,tocIndex:26},{value:"#11053",paraId:59,tocIndex:26},{value:"\u5C31\u50CF ",paraId:60,tocIndex:26},{value:"\u8FD9\u4E2A\u56DE\u590D",paraId:60,tocIndex:26},{value:" \u91CC\u89E3\u91CA\u7684\u4E00\u6837\uFF0C\u8FD9\u662F\u56E0\u4E3A ",paraId:60,tocIndex:26},{value:'<DatePicker mode="year" />',paraId:60,tocIndex:26},{value:" \u4E0D\u7B49\u4E8E ",paraId:60,tocIndex:26},{value:"YearPicker",paraId:60,tocIndex:26},{value:"\uFF0C",paraId:60,tocIndex:26},{value:'<RangePicker mode="month" />',paraId:60,tocIndex:26},{value:" \u4E0D\u7B49\u4E8E ",paraId:60,tocIndex:26},{value:"MonthRangePicker",paraId:60,tocIndex:26},{value:"\u3002 ",paraId:60,tocIndex:26},{value:"mode",paraId:60,tocIndex:26},{value:" \u5C5E\u6027\u662F\u5728 antd 3.0 \u65F6\uFF0C\u4E3A\u4E86\u63A7\u5236\u9762\u677F\u5C55\u73B0\u72B6\u6001\u800C\u6DFB\u52A0\u7684\u5C5E\u6027\uFF0C\u4EE5\u652F\u6301",paraId:60,tocIndex:26},{value:"\u5C55\u793A\u65F6\u95F4\u9762\u677F",paraId:60,tocIndex:26},{value:"\u7B49\u9700\u6C42\u800C\u6DFB\u52A0\u7684\u3002",paraId:60,tocIndex:26},{value:"mode",paraId:60,tocIndex:26},{value:" \u53EA\u4F1A\u7B80\u5355\u7684\u6539\u53D8\u5F53\u524D\u663E\u793A\u7684\u9762\u677F\uFF0C\u4E0D\u4F1A\u4FEE\u6539\u9ED8\u8BA4\u7684\u4EA4\u4E92\u884C\u4E3A\uFF08\u6BD4\u5982 DatePicker \u4F9D\u7136\u662F\u70B9\u51FB\u65E5\u624D\u4F1A\u5B8C\u6210\u9009\u62E9\u5E76\u5173\u95ED\u9762\u677F\uFF09\u3002",paraId:60,tocIndex:26},{value:"\u540C\u6837\u7684\uFF0C",paraId:61,tocIndex:26},{value:"disabledDate",paraId:61,tocIndex:26},{value:" \u5BF9\u4E8E\u4EFB\u4F55 ",paraId:61,tocIndex:26},{value:"<DatePicker />",paraId:61,tocIndex:26},{value:" \u4E5F\u53EA\u4F1A\u9488\u5BF9",paraId:61,tocIndex:26},{value:"\u65E5\u9762\u677F",paraId:61,tocIndex:26},{value:"\u751F\u6548\uFF0C",paraId:61,tocIndex:26},{value:"\u5E76\u4E0D\u4F1A\u5BF9 ",paraId:61,tocIndex:26},{value:'<DatePicker mode="year/month" />',paraId:61,tocIndex:26},{value:" \u4E0A\u7684\u5E74/\u6708\u9762\u677F\u751F\u6548",paraId:61,tocIndex:26},{value:"\u3002",paraId:61,tocIndex:26},{value:":::success{title=\u89E3\u51B3\u529E\u6CD5} \u4F60\u53EF\u4EE5\u53C2\u7167 ",paraId:62,tocIndex:26},{value:"\u8FD9\u7BC7\u6587\u7AE0",paraId:62,tocIndex:26},{value:" \u6216\u8005 ",paraId:62,tocIndex:26},{value:"\u8FD9\u7BC7\u6587\u7AE0",paraId:62,tocIndex:26},{value:" \u91CC\u7684\u505A\u6CD5\uFF0C\u5229\u7528 ",paraId:62,tocIndex:26},{value:"mode",paraId:62,tocIndex:26},{value:" \u548C ",paraId:62,tocIndex:26},{value:"onPanelChange",paraId:62,tocIndex:26},{value:" \u7B49\u65B9\u6CD5\u53BB\u5C01\u88C5\u4E00\u4E2A ",paraId:62,tocIndex:26},{value:"YearPicker",paraId:62,tocIndex:26},{value:" \u7B49\u7EC4\u4EF6\u3002",paraId:62,tocIndex:26},{value:"\u53E6\u5916\u6211\u4EEC\u5DF2\u7ECF\u5728 ",paraId:63,tocIndex:26},{value:"antd@4.0",paraId:63,tocIndex:26},{value:" \u4E2D\u76F4\u63A5",paraId:63,tocIndex:26},{value:"\u6DFB\u52A0\u4E86\u66F4\u591A\u76F8\u5173\u65E5\u671F\u7EC4\u4EF6",paraId:63,tocIndex:26},{value:"\u6765\u652F\u6301\u8FD9\u4E9B\u9700\u6C42\uFF0C\u73B0\u5728\u4E0D\u518D\u9700\u8981\u4F7F\u7528 ",paraId:63,tocIndex:26},{value:'mode="year|month"',paraId:63,tocIndex:26},{value:"\uFF0C\u800C\u662F\u76F4\u63A5\u53EF\u4EE5\u7528 ",paraId:63,tocIndex:26},{value:"YearPicker",paraId:63,tocIndex:26},{value:" ",paraId:63,tocIndex:26},{value:"MonthPicker",paraId:63,tocIndex:26},{value:"\uFF0C\u5E76\u4E14 ",paraId:63,tocIndex:26},{value:"disabledDate",paraId:63,tocIndex:26},{value:" \u4E5F\u53EF\u4EE5\u6B63\u786E\u4F5C\u7528\u4E8E\u8FD9\u4E9B Picker\u3002:::",paraId:63,tocIndex:26},{value:"prefixCls",paraId:1},{value:"message/notification/Modal.confirm \u7B49\u9759\u6001\u65B9\u6CD5\u4E0D\u540C\u4E8E ",paraId:64,tocIndex:27},{value:"<Button />",paraId:64,tocIndex:27},{value:" \u7684\u6E32\u67D3\u65B9\u5F0F\uFF0C\u662F\u5355\u72EC\u6E32\u67D3\u5728 ",paraId:64,tocIndex:27},{value:"ReactDOM.render",paraId:64,tocIndex:27},{value:" \u751F\u6210\u7684 DOM \u6811\u8282\u70B9\u4E0A\uFF0C\u65E0\u6CD5\u5171\u4EAB ConfigProvider \u63D0\u4F9B\u7684 context \u4FE1\u606F\u3002\u4F60\u6709\u4E24\u79CD\u89E3\u51B3\u65B9\u5F0F\uFF1A",paraId:64,tocIndex:27},{value:"\u4F7F\u7528\u5B98\u65B9\u63D0\u4F9B\u7684 ",paraId:65,tocIndex:27},{value:"message.useMessage",paraId:66,tocIndex:27},{value:"\u3001",paraId:65,tocIndex:27},{value:"notification.useNotification",paraId:67,tocIndex:27},{value:" \u548C ",paraId:65,tocIndex:27},{value:"Modal.useModal",paraId:68,tocIndex:27},{value:" \u6765\u8C03\u7528\u8FD9\u4E9B\u65B9\u6CD5\u3002",paraId:65,tocIndex:27},{value:"\u4F7F\u7528 ",paraId:69,tocIndex:27},{value:"App.useApp",paraId:70,tocIndex:27},{value:" \u76F4\u63A5\u8C03\u7528 message\u3001notification\u3001modal \u5B9E\u4F8B\u65B9\u6CD5\u3002",paraId:69,tocIndex:27},{value:"\u4F60\u901A\u8FC7 ref \u83B7\u5F97\u5F15\u7528\u65F6\u53EA\u5E94\u8BE5\u4F7F\u7528\u6587\u6863\u63D0\u4F9B\u7684\u65B9\u6CD5\u3002\u76F4\u63A5\u8BFB\u53D6\u7EC4\u4EF6\u5185\u90E8\u7684 ",paraId:71,tocIndex:28},{value:"props",paraId:71,tocIndex:28},{value:" \u548C ",paraId:71,tocIndex:28},{value:"state",paraId:71,tocIndex:28},{value:" \u4E0D\u662F\u4E00\u4E2A\u597D\u7684\u8BBE\u8BA1\uFF0C\u8FD9\u4F1A\u4F7F\u4F60\u7684\u4EE3\u7801\u4E0E\u7EC4\u4EF6\u7248\u672C\u5F3A\u8026\u5408\u3002\u4EFB\u4F55\u91CD\u6784\u90FD\u53EF\u80FD\u4F1A\u4F7F\u4F60\u7684\u4EE3\u7801\u65E0\u6CD5\u5DE5\u4F5C\uFF0C\u5176\u4E2D\u91CD\u6784\u5305\u62EC\u4E14\u4E0D\u4EC5\u9650\u4E8E\u6539\u9020\u6210 ",paraId:71,tocIndex:28},{value:"Hooks",paraId:71,tocIndex:28},{value:" \u7248\u672C\u3001\u79FB\u9664 / \u66F4\u540D\u5185\u90E8 ",paraId:71,tocIndex:28},{value:"props",paraId:71,tocIndex:28},{value:" \u4E0E ",paraId:71,tocIndex:28},{value:"state",paraId:71,tocIndex:28},{value:"\u3001\u8C03\u6574\u5185\u90E8 React \u8282\u70B9\u7ED3\u6784\u7B49\u7B49\u3002",paraId:71,tocIndex:28},{value:"open",paraId:1},{value:"\u56E0\u4E3A\u5386\u53F2\u539F\u56E0\uFF0C\u5F39\u5C42\u7C7B\u7EC4\u4EF6\u5C55\u793A\u547D\u540D\u5E76\u4E0D\u7EDF\u4E00\uFF0C\u51FA\u73B0\u4E86 ",paraId:72,tocIndex:29},{value:"open",paraId:72,tocIndex:29},{value:" \u4E0E ",paraId:72,tocIndex:29},{value:"visible",paraId:72,tocIndex:29},{value:" \u90FD\u5728\u4F7F\u7528\u7684\u60C5\u51B5\u3002\u8FD9\u4F7F\u5F97\u975E tsx \u7528\u6237\u5728\u5F00\u53D1\u65F6\u906D\u9047\u7684\u8BB0\u5FC6\u6210\u672C\u3002\u540C\u6837\u5BFC\u81F4\u65B0\u589E feature \u65F6\u9009\u62E9\u4F55\u79CD\u547D\u540D\u7684\u6A21\u68F1\u4E24\u53EF\u3002\u56E0\u800C\u6211\u4EEC\u5E0C\u671B\u7EDF\u4E00\u8BE5\u5C5E\u6027\u547D\u540D\uFF0C\u4F60\u4ECD\u7136\u53EF\u4EE5\u4F7F\u7528\u539F\u672C\u7684 ",paraId:72,tocIndex:29},{value:"visible",paraId:72,tocIndex:29},{value:" \u5B83\u4ECD\u7136\u4F1A\u5411\u4E0B\u517C\u5BB9\uFF0C\u4F46\u662F\u4ECE v5 \u8D77\u6211\u4EEC\u5C06\u4ECE\u6587\u6863\u4E2D\u79FB\u9664\u8BE5\u5C5E\u6027\u3002",paraId:72,tocIndex:29},{value:":where",paraId:1},{value:"\u8BF7\u53C2\u8003\u52A8\u6001\u4E3B\u9898\u6587\u6863 ",paraId:73,tocIndex:30},{value:"\u517C\u5BB9\u65E7\u7248\u6D4F\u89C8\u5668",paraId:74,tocIndex:30},{value:" \u90E8\u5206\u5185\u5BB9\u3002",paraId:73,tocIndex:30},{value:"\u540C\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u8C03\u6574 antd \u6837\u5F0F\u4F18\u5148\u7EA7\u4EE5\u8986\u76D6\u3002\u76F8\u5173 issue: ",paraId:75,tocIndex:31},{value:"#38794",paraId:75,tocIndex:31},{value:"\u8BF7\u53C2\u8003\u6587\u6863 ",paraId:76,tocIndex:32},{value:"Shadow DOM \u573A\u666F",paraId:77,tocIndex:32},{value:" \u5185\u5BB9\u3002",paraId:76,tocIndex:32},{value:"\u901A\u8FC7 SeedToken \u53EF\u4EE5\u5F88\u65B9\u4FBF\u7684\u5B9E\u73B0\uFF1A",paraId:78,tocIndex:33},{value:"import { ConfigProvider } from 'antd';\n\n<ConfigProvider theme={{ token: { motion: false } }}>\n <App />\n</ConfigProvider>;\n",paraId:79,tocIndex:33},{value:"\u8BF7\u53C2\u8003\u52A8\u6001\u4E3B\u9898\u6587\u6863 ",paraId:80,tocIndex:34},{value:"\u670D\u52A1\u7AEF\u6E32\u67D3",paraId:81,tocIndex:34},{value:" \u90E8\u5206\u5185\u5BB9\u3002",paraId:80,tocIndex:34},{value:"\u5728 Ant Design Token \u7CFB\u7EDF\u4E2D ",paraId:82,tocIndex:35},{value:"colorPrimary",paraId:82,tocIndex:35},{value:" \u548C ",paraId:82,tocIndex:35},{value:"colorInfo",paraId:82,tocIndex:35},{value:" \u540C\u5C5E\u4E8E ",paraId:82,tocIndex:35},{value:"\u57FA\u7840\u53D8\u91CF\uFF08Seed Token\uFF09",paraId:83,tocIndex:35},{value:"\uFF0C\u6240\u4EE5\u4E24\u8005\u662F\u4E92\u76F8\u72EC\u7ACB\u7684\u3002",paraId:82,tocIndex:35},{value:"colorLink",paraId:82,tocIndex:35},{value:" \u5219\u5C5E\u4E8E ",paraId:82,tocIndex:35},{value:"\u522B\u540D\u53D8\u91CF\uFF08Alias Token\uFF09",paraId:84,tocIndex:35},{value:", \u9ED8\u8BA4\u7EE7\u627F ",paraId:82,tocIndex:35},{value:"colorInfo",paraId:82,tocIndex:35},{value:" \u4E14\u548C ",paraId:82,tocIndex:35},{value:"colorPrimary",paraId:82,tocIndex:35},{value:" \u65E0\u5173\u3002",paraId:82,tocIndex:35},{value:"\u62FC\u5199",paraId:85,tocIndex:36},{value:"\u7528\u6CD5",paraId:85,tocIndex:36},{value:"\u53D1\u97F3",paraId:85,tocIndex:36},{value:"\u2705 ",paraId:85,tocIndex:36},{value:"Ant Design",paraId:85,tocIndex:36},{value:"\u7528\u7A7A\u683C\u5206\u9694\u7684\u9996\u5B57\u6BCD\u5927\u5199\u5355\u8BCD\uFF0C\u6307\u4EE3\u8BBE\u8BA1\u8BED\u8A00",paraId:85,tocIndex:36},{value:"-",paraId:85,tocIndex:36},{value:"\u2705 ",paraId:85,tocIndex:36},{value:"antd",paraId:85,tocIndex:36},{value:"\u5168\u5C0F\u5199\uFF0C\u6307\u4EE3 React UI \u7EC4\u4EF6\u5E93",paraId:85,tocIndex:36},{value:"\u2705 ",paraId:85,tocIndex:36},{value:"ant.design",paraId:85,tocIndex:36},{value:"\u6307 ant.design \u7F51\u7AD9",paraId:85,tocIndex:36},{value:"-",paraId:85,tocIndex:36},{value:"\u4E0B\u9762\u662F\u4E00\u4E9B\u5178\u578B\u7684\u9519\u8BEF\u4F8B\u5B50\uFF1A",paraId:86,tocIndex:36},{value:"\u274C AntD",paraId:87,tocIndex:36},{value:"\u274C Ant-D",paraId:87,tocIndex:36},{value:"\u274C antD",paraId:87,tocIndex:36},{value:"\u274C Antd",paraId:87,tocIndex:36},{value:"\u274C ant design",paraId:87,tocIndex:36},{value:"\u274C AntDesign",paraId:87,tocIndex:36},{value:"\u274C antdesign",paraId:87,tocIndex:36},{value:"\u274C Antdesign",paraId:87,tocIndex:36},{value:"https://opencollective.com/ant-design",paraId:88,tocIndex:37},{value:"setFieldsValue",paraId:1},{value:"null",paraId:1},{value:"\u5F53\u6211\u4EEC\u5C1D\u8BD5\u4F7F\u7528\u8868\u5355\u7EC4\u4EF6\u7684\u8868\u5355\u5B9E\u4F8B\u5F53\u4E2D\u7684 ",paraId:89,tocIndex:38},{value:"setFieldsValue",paraId:89,tocIndex:38},{value:" \u65B9\u6CD5\u8BBE\u7F6E\u8868\u5355\u503C\u65F6\uFF0C\u5982\u679C\u5728\u4F20\u5165\u7684\u5BF9\u8C61\u4E2D\u5305\u542B\u6709 ",paraId:89,tocIndex:38},{value:"null",paraId:89,tocIndex:38},{value:" \u7C7B\u578B\uFF0C\u5982\uFF1A",paraId:89,tocIndex:38},{value:"// This is not real world code, just for explain\nimport { Form } from 'antd';\n\ntype Test = {\n value: string[] | null;\n};\n\nexport default () => {\n const [form] = Form.useForm<Test>();\n\n form.setFieldsValue({\n value: null, // Error: \u4E0D\u80FD\u5C06\u7C7B\u578B\u201Cnull\u201D\u5206\u914D\u7ED9\u7C7B\u578B\u201Cstring[] | undefined\u201D\u3002\n });\n};\n",paraId:90,tocIndex:38},{value:"\u5982\u679C\u4F60\u9047\u5230\u4E0A\u8FF0\u62A5\u9519\uFF0C\u8BF7\u68C0\u67E5\u5F53\u524D\u9879\u76EE\u7684 ",paraId:91,tocIndex:38},{value:"tsconfig.json",paraId:91,tocIndex:38},{value:" \u4E2D\u662F\u5426\u5305\u542B\u5982\u4E0B\u914D\u7F6E\uFF1A",paraId:91,tocIndex:38},{value:'{\n "strictNullChecks": true\n}\n',paraId:92,tocIndex:38},{value:"\u5982\u679C ",paraId:93,tocIndex:38},{value:"strictNullChecks",paraId:93,tocIndex:38},{value:" \u7684\u503C\u88AB\u8BBE\u7F6E\u4E3A ",paraId:93,tocIndex:38},{value:"true",paraId:93,tocIndex:38},{value:" \u5C31\u4F1A\u51FA\u73B0\u4E0A\u8FF0\u95EE\u9898\uFF0C\u5982\u679C\u4F60\u786E\u5B9A\u9879\u76EE\u4E2D\u53EF\u4EE5\u4E0D\u9700\u8981\u8FD9\u4E2A\u68C0\u6D4B\u914D\u7F6E\uFF08\u67E5\u770B",paraId:93,tocIndex:38},{value:"strictNullChecks",paraId:93,tocIndex:38},{value:"\u5224\u65AD\u662F\u5426\u9700\u8981\u8BE5\u914D\u7F6E\uFF09\uFF0C\u53EF\u4EE5\u5C1D\u8BD5\u6539\u4E3A ",paraId:93,tocIndex:38},{value:"false",paraId:93,tocIndex:38},{value:" \u5173\u95ED\u63A7\u5236\u4E25\u683C\u68C0\u67E5\u529F\u80FD\u3002\u4F46\u5982\u679C\u4F60\u786E\u5B9E\u9700\u8981\u5F00\u542F\u8FD9\u4E2A\u529F\u80FD\uFF0C\u90A3\u4E48\uFF0C\u4F60\u53EF\u4EE5\u5728\u8BBE\u8BA1\u7C7B\u578B\u65F6\uFF0C\u4F7F\u7528\u5176\u4ED6\u7C7B\u578B\u66FF\u4EE3 ",paraId:93,tocIndex:38},{value:"null",paraId:93,tocIndex:38},{value:" \u4EE5\u907F\u514D\u51FA\u73B0\u8FD9\u79CD\u60C5\u51B5\u3002",paraId:93,tocIndex:38},{value:"\u5982\u679C\u4F60\u5728\u4F7F\u7528 Next.js \u7684 App Router\uFF0C\u5F53\u4F60\u4F7F\u7528 antd \u4E2D\u67D0\u4E9B\u7EC4\u4EF6\u63D0\u4F9B\u7684\u5B50\u7EC4\u4EF6\uFF0C\u5982\uFF1A",paraId:94,tocIndex:39},{value:"Select.Option",paraId:94,tocIndex:39},{value:"\u3001",paraId:94,tocIndex:39},{value:"Form.Item",paraId:94,tocIndex:39},{value:"\u3001",paraId:94,tocIndex:39},{value:"Typography.Title",paraId:94,tocIndex:39},{value:" \u7B49\uFF0C\u53EF\u80FD\u4F1A\u51FA\u73B0\u5982\u4E0B\u62A5\u9519\uFF1A",paraId:94,tocIndex:39},{value:"Error: Cannot access .Option on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.\n",paraId:95,tocIndex:39},{value:"\u76EE\u524D\u8FD9\u4E2A\u95EE\u9898\u9700\u8981",paraId:96,tocIndex:39},{value:"\u7B49\u5F85 Next.js \u5B98\u65B9\u7ED9\u51FA\u89E3\u51B3\u65B9\u6848",paraId:96,tocIndex:39},{value:"\uFF0C\u5728\u6B64\u4E4B\u524D\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5728\u4F7F\u7528 App router \u7684\u9875\u9762\u4E2D\u4F7F\u7528\u5B50\u7EC4\u4EF6\uFF0C\u76EE\u524D\u6709\u4E24\u79CD\u53D8\u901A\u65B9\u6CD5\uFF1A",paraId:96,tocIndex:39},{value:"\u521B\u5EFA\u4E00\u4E2A\u5305\u88F9\u7EC4\u4EF6\uFF0C\u63D0\u53D6\u6240\u9700\u7684\u5B50\u7EC4\u4EF6\u5E76\u91CD\u65B0\u5BFC\u51FA\u3002\u4EE5 ",paraId:97,tocIndex:39},{value:"Typography",paraId:97,tocIndex:39},{value:" \u7EC4\u4EF6\u4E3A\u4F8B\uFF0C\u4EE3\u7801\u5927\u6982\u50CF\u8FD9\u6837\uFF1A",paraId:97,tocIndex:39},{value:"'use client';\n\nimport React from 'react';\nimport { Typography as OriginTypography } from 'antd';\nimport type { LinkProps } from 'antd/es/typography/Link';\nimport type { ParagraphProps } from 'antd/es/typography/Paragraph';\nimport type { TextProps } from 'antd/es/typography/Text';\nimport type { TitleProps } from 'antd/es/typography/Title';\n\nconst Title = React.forwardRef<HTMLElement, TitleProps & React.RefAttributes<HTMLElement>>(\n (props, ref) => <OriginTypography.Title ref={ref} {...props} />,\n);\n\nconst Paragraph = React.forwardRef<HTMLElement, ParagraphProps & React.RefAttributes<HTMLElement>>(\n (props, ref) => <OriginTypography.Paragraph ref={ref} {...props} />,\n);\n\nconst Link = React.forwardRef<HTMLElement, LinkProps & React.RefAttributes<HTMLElement>>(\n (props, ref) => <OriginTypography.Link ref={ref} {...props} />,\n);\n\nconst Text = React.forwardRef<HTMLElement, TextProps & React.RefAttributes<HTMLElement>>(\n (props, ref) => <OriginTypography.Text ref={ref} {...props} />,\n);\n\nexport { Title, Link, Text, Paragraph };\n",paraId:98,tocIndex:39},{value:'\u4F60\u4E5F\u53EF\u4EE5\u5728\u7EC4\u4EF6\u7684\u5F00\u5934\u6DFB\u52A0 "use client" \u6307\u4EE4\uFF0C\u4F7F\u9875\u9762\u5B8C\u5168\u7531\u5BA2\u6237\u7AEF\u6E32\u67D3\uFF1A',paraId:99,tocIndex:39},{value:'\'use client\';\n\n// \u975E\u771F\u5B9E\u4EE3\u7801\uFF0C\u4EC5\u505A\u903B\u8F91\u8BF4\u660E\nexport default () => (\n <div className="App">\n <Form>\n <Form.Item>\n <Button type="primary">Button</Button>\n </Form.Item>\n </Form>\n </div>\n);\n',paraId:100,tocIndex:39}];}}]); |