mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["2b22e1bd"],{"2b22e1bd":function(e,s,a){"use strict";a.d(s,"__esModule",{value:!0}),a.d(s,"default",{enumerable:!0,get:function(){return p;}});var l=a("777fffbe"),r=a("f19d2b93"),i=l._(a("b622e337")),n=l._(a("67074e5d")),d=l._(a("302b08e3")),t=l._(a("5437c7d5")),c=l._(a("97c488ea")),h=l._(a("c96b0d01")),u=a("5b220c3d"),o=a("9c86e52a");function x(){let{texts:e}=(0,o.useRouteMeta)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("audio",{id:"antd-audio",children:[e[0].value,(0,r.jsx)("source",{src:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*ChCdRJ0w8SUAAAAAAAAAAAAADgCCAQ",type:"audio/mpeg"})]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:e[1].value}),e[2].value,(0,r.jsx)(d.default,{id:"antd-audio",children:e[3].value}),e[4].value]}),(0,r.jsxs)("div",{className:"pic-plus",children:[e[5].value,(0,r.jsx)("img",{width:"150",draggable:"false",src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"}),e[6].value,(0,r.jsx)("span",{children:e[7].value}),e[8].value,(0,r.jsx)("img",{width:"160",draggable:"false",src:"https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)("h2",{id:"-\u7279\u6027",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-\u7279\u6027",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u2728 \u7279\u6027"]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[9].value}),(0,r.jsx)("li",{children:e[10].value}),(0,r.jsx)("li",{children:e[11].value}),(0,r.jsx)("li",{children:e[12].value}),(0,r.jsx)("li",{children:e[13].value}),(0,r.jsx)("li",{children:e[14].value})]}),(0,r.jsxs)("h2",{id:"\u517C\u5BB9\u73AF\u5883",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u517C\u5BB9\u73AF\u5883",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u517C\u5BB9\u73AF\u5883"]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:e[15].value}),(0,r.jsx)("li",{children:e[16].value}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://www.electronjs.org/",sourceType:"a",children:e[17].value})})]}),(0,r.jsxs)(n.default,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png",alt:"Edge",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[18].value]}),(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png",alt:"Firefox",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[19].value]}),(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png",alt:"Chrome",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[20].value]}),(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png",alt:"Safari",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[21].value]}),(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png",alt:"Opera",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[22].value]}),(0,r.jsxs)("th",{children:[(0,r.jsx)(c.default,{href:"http://godban.github.io/browsers-support-badges/",sourceType:"a",children:(0,r.jsx)("img",{src:"https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png",alt:"Electron",width:"24px",height:"24px"})}),(0,r.jsx)("br",{}),e[23].value]})]})}),(0,r.jsx)("tbody",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[24].value}),(0,r.jsx)("td",{children:e[25].value}),(0,r.jsx)("td",{children:e[26].value}),(0,r.jsx)("td",{children:e[27].value}),(0,r.jsx)("td",{children:e[28].value}),(0,r.jsx)("td",{children:e[29].value})]})})]}),(0,r.jsxs)("p",{children:[e[30].value,(0,r.jsx)(c.default,{href:"https://babeljs.io/docs/en/babel-preset-env",sourceType:"a",children:e[31].value}),e[32].value,(0,r.jsx)(c.default,{href:"http://umijs.org/",sourceType:"a",children:e[33].value}),e[34].value,(0,r.jsx)(c.default,{href:"https://umijs.org/docs/api/config#targets",sourceType:"a",children:e[35].value}),e[36].value]}),(0,r.jsx)("blockquote",{children:(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:e[37].value}),e[38].value,(0,r.jsx)("code",{children:e[39].value}),e[40].value,(0,r.jsx)("code",{children:e[41].value}),e[42].value]})}),(0,r.jsxs)("h2",{id:"\u7248\u672C",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u7248\u672C",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u7248\u672C"]}),(0,r.jsx)("ul",{children:(0,r.jsxs)("li",{children:[e[43].value,(0,r.jsx)(c.default,{href:"https://www.npmjs.org/package/antd",sourceType:"a",children:(0,r.jsx)("img",{src:"https://img.shields.io/npm/v/antd.svg?style=flat-square",alt:"npm package"})})]})}),(0,r.jsxs)("p",{children:[e[44].value,(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/releases.atom",sourceType:"a",children:e[45].value}),e[46].value]}),(0,r.jsxs)("h2",{id:"\u5B89\u88C5",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B89\u88C5",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u5B89\u88C5"]}),(0,r.jsxs)("h3",{id:"\u4F7F\u7528-npm-\u6216-yarn-\u6216-pnpm-\u6216-bun-\u5B89\u88C5",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-npm-\u6216-yarn-\u6216-pnpm-\u6216-bun-\u5B89\u88C5",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 npm \u6216 yarn \u6216 pnpm \u6216 bun \u5B89\u88C5"]}),(0,r.jsxs)("p",{children:[(0,r.jsxs)("strong",{children:[e[47].value,(0,r.jsx)(c.default,{href:"https://www.npmjs.com/",sourceType:"a",children:e[48].value}),e[49].value,(0,r.jsx)(c.default,{href:"https://github.com/yarnpkg/yarn/",sourceType:"a",children:e[50].value}),e[51].value,(0,r.jsx)(c.default,{href:"https://pnpm.io/zh/",sourceType:"a",children:e[52].value}),e[53].value,(0,r.jsx)(c.default,{href:"https://bun.sh/",sourceType:"a",children:e[54].value}),e[55].value]}),e[56].value]})]}),(0,r.jsx)(t.default,{npm:"$ npm install antd --save",yarn:"$ yarn add antd",pnpm:"$ pnpm install antd --save",bun:"$ bun add antd"}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("p",{children:[e[57].value,(0,r.jsx)(c.default,{href:"https://github.com/cnpm/cnpm",sourceType:"a",children:e[58].value}),e[59].value]}),(0,r.jsxs)("h3",{id:"\u6D4F\u89C8\u5668\u5F15\u5165",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u6D4F\u89C8\u5668\u5F15\u5165",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6D4F\u89C8\u5668\u5F15\u5165"]}),(0,r.jsxs)("p",{children:[e[60].value,(0,r.jsx)("code",{children:e[61].value}),e[62].value,(0,r.jsx)("code",{children:e[63].value}),e[64].value,(0,r.jsx)("code",{children:e[65].value}),e[66].value]}),(0,r.jsxs)("p",{children:[e[67].value,(0,r.jsx)("code",{children:e[68].value}),e[69].value,(0,r.jsx)("code",{children:e[70].value}),e[71].value,(0,r.jsx)("code",{children:e[72].value}),e[73].value,(0,r.jsx)(c.default,{href:"https://cdnjs.com/libraries/antd",sourceType:"a",children:(0,r.jsx)("img",{src:"https://img.shields.io/cdnjs/v/antd.svg?style=flat-square",alt:"CDNJS"})}),e[74].value,(0,r.jsx)(c.default,{href:"https://www.jsdelivr.com/package/npm/antd",sourceType:"a",children:(0,r.jsx)("img",{src:"https://data.jsdelivr.com/v1/package/npm/antd/badge",alt:""})}),e[75].value,(0,r.jsx)(c.default,{href:"https://unpkg.com/antd/dist/",sourceType:"a",children:e[76].value}),e[77].value]}),(0,r.jsx)("blockquote",{children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:e[78].value}),e[79].value]})}),(0,r.jsx)("blockquote",{children:(0,r.jsxs)("p",{children:[e[80].value,(0,r.jsx)("code",{children:e[81].value}),e[82].value,(0,r.jsx)("code",{children:e[83].value}),e[84].value,(0,r.jsx)("code",{children:e[85].value}),e[86].value,(0,r.jsx)("code",{children:e[87].value}),e[88].value,(0,r.jsx)("code",{children:e[89].value}),e[90].value]})}),(0,r.jsxs)("h2",{id:"\u793A\u4F8B",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u793A\u4F8B",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u793A\u4F8B"]}),(0,r.jsx)(i.default,{lang:"jsx",children:e[91].value}),(0,r.jsxs)("h3",{id:"\u6309\u9700\u52A0\u8F7D",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u6309\u9700\u52A0\u8F7D",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u6309\u9700\u52A0\u8F7D"]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:e[92].value}),e[93].value]}),(0,r.jsxs)("h3",{id:"typescript",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#typescript",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"TypeScript"]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("code",{children:e[94].value}),e[95].value,(0,r.jsx)("code",{children:e[96].value}),e[97].value]}),(0,r.jsxs)("h2",{id:"\u94FE\u63A5",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u94FE\u63A5",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u94FE\u63A5"]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{to:"/index-cn",sourceType:"Link",children:e[98].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{to:"/components/overview-cn",sourceType:"Link",children:e[99].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/issues/25661",sourceType:"a",children:e[100].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://pro.ant.design/",sourceType:"a",children:e[101].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://procomponents.ant.design/",sourceType:"a",children:e[102].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://charts.ant.design",sourceType:"a",children:e[103].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{to:"/changelog",sourceType:"Link",children:e[104].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://react-component.github.io/",sourceType:"a",children:e[105].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://mobile.ant.design",sourceType:"a",children:e[106].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://mini.ant.design",sourceType:"a",children:e[107].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design-icons",sourceType:"a",children:e[108].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design-colors",sourceType:"a",children:e[109].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://landing.ant.design",sourceType:"a",children:e[110].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://motion.ant.design",sourceType:"a",children:e[111].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://scaffold.ant.design",sourceType:"a",children:e[112].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/wiki/Ant-Design-%E8%AE%BE%E8%AE%A1%E5%9F%BA%E7%A1%80%E7%AE%80%E7%89%88",sourceType:"a",children:e[113].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/wiki/Development",sourceType:"a",children:e[114].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/wiki/%E8%BD%AE%E5%80%BC%E8%A7%84%E5%88%99%E5%92%8C%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83%E6%B5%81%E7%A8%8B",sourceType:"a",children:e[115].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{to:"/docs/react/faq",sourceType:"Link",children:e[116].value})}),(0,r.jsxs)("li",{children:[(0,r.jsx)(c.default,{href:"https://u.ant.design/codesandbox-repro",sourceType:"a",children:e[117].value}),e[118].value]}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/websemantics/awesome-ant-design",sourceType:"a",children:e[119].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{to:"/docs/react/customize-theme",sourceType:"Link",children:e[120].value})}),(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator",sourceType:"a",children:e[121].value})})]}),(0,r.jsxs)("h2",{id:"\u975E-react-\u7684\u5B9E\u73B0",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u975E-react-\u7684\u5B9E\u73B0",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u975E React \u7684\u5B9E\u73B0"]}),(0,r.jsxs)("p",{children:[e[122].value,(0,r.jsx)(c.default,{to:"/docs/spec/introduce-cn#%E5%89%8D%E7%AB%AF%E5%AE%9E%E7%8E%B0",sourceType:"Link",children:e[123].value}),e[124].value]}),(0,r.jsxs)("h2",{id:"\u8C01\u5728\u4F7F\u7528",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u8C01\u5728\u4F7F\u7528",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u8C01\u5728\u4F7F\u7528"]}),(0,r.jsxs)("p",{children:[e[125].value,(0,r.jsx)(c.default,{href:"https://www.wappalyzer.com/technologies/ui-frameworks/ant-design",sourceType:"a",children:e[126].value}),e[127].value,(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/issues/477",sourceType:"a",children:e[128].value}),e[129].value]}),(0,r.jsxs)("h2",{id:"\u5982\u4F55\u8D21\u732E",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u5982\u4F55\u8D21\u732E",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u5982\u4F55\u8D21\u732E"]}),(0,r.jsxs)("p",{children:[e[130].value,(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/blob/master/.github/CONTRIBUTING.md",sourceType:"a",children:e[131].value}),e[132].value,(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/pulls",sourceType:"a",children:e[133].value}),e[134].value,(0,r.jsx)(c.default,{href:"http://new-issue.ant.design/",sourceType:"a",children:e[135].value}),e[136].value]}),(0,r.jsx)("blockquote",{children:(0,r.jsxs)("p",{children:[e[137].value,(0,r.jsx)(c.default,{href:"https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way",sourceType:"a",children:e[138].value}),e[139].value,(0,r.jsx)(c.default,{href:"https://github.com/seajs/seajs/issues/545",sourceType:"a",children:e[140].value}),e[141].value,(0,r.jsx)(c.default,{href:"http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html",sourceType:"a",children:e[142].value}),e[143].value,(0,r.jsx)(c.default,{href:"https://zhuanlan.zhihu.com/p/25795393",sourceType:"a",children:e[144].value}),e[145].value]})}),(0,r.jsxs)("h2",{id:"\u793E\u533A\u4E92\u52A9",children:[(0,r.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#\u793E\u533A\u4E92\u52A9",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u793E\u533A\u4E92\u52A9"]}),(0,r.jsx)("p",{children:e[146].value}),(0,r.jsxs)("p",{children:[e[147].value,(0,r.jsx)("code",{children:e[148].value}),e[149].value]}),(0,r.jsxs)("p",{children:[e[150].value,(0,r.jsx)("code",{children:e[151].value}),e[152].value]}),(0,r.jsxs)("ol",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/discussions",sourceType:"a",children:e[153].value})}),(0,r.jsxs)("li",{children:[(0,r.jsx)(c.default,{href:"http://stackoverflow.com/questions/tagged/antd",sourceType:"a",children:(0,r.jsx)("img",{alt:"Stack Overflow",src:"https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-logo.svg?v=2bb144720a66",width:"140"})}),e[154].value]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(c.default,{href:"https://segmentfault.com/t/antd",sourceType:"a",children:(0,r.jsx)("img",{alt:"Segment Fault",src:"https://gw.alipayobjects.com/zos/rmsportal/hfYFfCvHTQTUKntlJbMF.svg",width:"100"})}),e[155].value]})]})]})]});}var p=function(){return(0,r.jsx)(o.DumiPage,{children:(0,r.jsx)(u.Suspense,{fallback:(0,r.jsx)(h.default,{}),children:(0,r.jsx)(x,{})})});};}}]); |