You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
238 KiB
150 lines
238 KiB
<!DOCTYPE html><html><head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta name="theme-color" content="#1677ff">
|
|
<link rel="shortcut icon" href="https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png">
|
|
<link rel="stylesheet" href="/ssr-1689742446534.css">
|
|
<link rel="stylesheet" href="/umi.c34b5f34.css">
|
|
<script>
|
|
(function () {
|
|
function isLocalStorageNameSupported() {
|
|
const testKey = 'test';
|
|
const storage = window.localStorage;
|
|
try {
|
|
storage.setItem(testKey, '1');
|
|
storage.removeItem(testKey);
|
|
return true;
|
|
} catch (error) {
|
|
return false;
|
|
}
|
|
}
|
|
// 优先级提高到所有静态资源的前面,语言不对,加载其他静态资源没意义
|
|
const pathname = location.pathname;
|
|
|
|
function isZhCN(pathname) {
|
|
return /-cn\/?$/.test(pathname);
|
|
}
|
|
function getLocalizedPathname(path, zhCN) {
|
|
const pathname = path.indexOf('/') === 0 ? path : '/' + path;
|
|
if (!zhCN) {
|
|
// to enUS
|
|
return /\/?index(-cn)?/.test(pathname) ? '/' : pathname.replace('-cn', '');
|
|
} else if (pathname === '/') {
|
|
return '/index-cn';
|
|
} else if (pathname.indexOf('/') === pathname.length - 1) {
|
|
return pathname.replace(/\/$/, '-cn/');
|
|
}
|
|
return pathname + '-cn';
|
|
}
|
|
|
|
// 兼容旧的 URL, `?locale=...`
|
|
const queryString = location.search;
|
|
if (queryString) {
|
|
const isZhCNConfig = queryString.indexOf('zh-CN') > -1;
|
|
if (isZhCNConfig && !isZhCN(pathname)) {
|
|
location.pathname = getLocalizedPathname(pathname, isZhCNConfig);
|
|
}
|
|
}
|
|
|
|
// 首页无视链接里面的语言设置 https://github.com/ant-design/ant-design/issues/4552
|
|
if (isLocalStorageNameSupported() && (pathname === '/' || pathname === '/index-cn')) {
|
|
const lang =
|
|
(window.localStorage && localStorage.getItem('locale')) ||
|
|
((navigator.language || navigator.browserLanguage).toLowerCase() === 'zh-cn'
|
|
? 'zh-CN'
|
|
: 'en-US');
|
|
// safari is 'zh-cn', while other browser is 'zh-CN';
|
|
if ((lang === 'zh-CN') !== isZhCN(pathname)) {
|
|
location.pathname = getLocalizedPathname(pathname, lang === 'zh-CN');
|
|
}
|
|
}
|
|
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
|
|
})();
|
|
</script>
|
|
<script async="" src="//www.googletagmanager.com/gtag/js?id=UA-72788897-1"></script>
|
|
<script>window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'UA-72788897-1');</script>
|
|
<title data-rh="true"> 更新日志 - Ant Design</title>
|
|
<meta data-rh="true" property="og:description" content="基于 Ant Design 设计体系的 React UI 组件库,用于研发企业级中后台产品。"/><meta data-rh="true" property="og:type" content="website"/><meta data-rh="true" property="og:image" content="https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png"/><meta data-rh="true" property="og:title" content=" 更新日志 - Ant Design"/><meta data-rh="true" name="description" content="antd 遵循 Semantic Versioning 2.0.0 语义化版本规范。"/>
|
|
<link data-rh="true" sizes="144x144" href="https://gw.alipayobjects.com/zos/antfincdn/UmVnt3t4T0/antd.png"/>
|
|
<style data-emotion="css-global 1ybv193">@font-face{font-weight:normal;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_6e11e43nfj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_6e11e43nfj.woff') format('woff'),url('//at.alicdn.com/t/webfont_6e11e43nfj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:bold;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:900;font-family:'AliPuHui';src:url('//at.alicdn.com/wf/webfont/exMpJIukiCms/Gsw2PSKrftc1yNWMNlXgw.woff2') format('woff2'),url('//at.alicdn.com/wf/webfont/exMpJIukiCms/vtu73by4O2gEBcvBuLgeu.woff') format('woff');font-display:swap;}html{direction:initial;}html.rtl{direction:rtl;}body{overflow-x:hidden;color:rgba(0, 0, 0, 0.88);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';line-height:1.5714285714285714;background:#ffffff;-webkit-transition:background-color 1s cubic-bezier(0.075, 0.82, 0.165, 1);transition:background-color 1s cubic-bezier(0.075, 0.82, 0.165, 1);}</style><style data-emotion="css-global 4rer99">body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0;}ul,ol{list-style:none;}img{vertical-align:middle;border-style:none;}</style><style data-emotion="css-global 1osa5ve">.markdown{color:rgba(0, 0, 0, 0.88);font-size:14px;line-height:2;}.highlight{line-height:1.5;}.markdown img{max-width:calc(100% - 32px);max-height:100%;}.markdown p>img{margin:34px 0;box-shadow:0 8px 20px rgba(143, 168, 191, 0.35);}.markdown p>img.markdown-inline-image{margin:0;box-shadow:none;}.markdown h1{margin-top:8px;margin-bottom:20px;color:rgba(0, 0, 0, 0.88);font-weight:500;font-size:30px;font-family:Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji',sans-serif;line-height:38px;}.markdown h1 .subtitle{margin-left:12px;}.markdown h2{font-size:24px;line-height:32px;}.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{clear:both;margin:1.6em 0 0.6em;color:rgba(0, 0, 0, 0.88);font-weight:500;font-family:Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji',sans-serif;}.markdown h3{font-size:18px;}.markdown h4{font-size:16px;}.markdown h5{font-size:14px;}.markdown h6{font-size:12px;}.markdown hr{clear:both;height:1px;margin:24px 0;background:rgba(5, 5, 5, 0.06);border:0;}.markdown p,.markdown pre{margin:1em 0;}.ant-row-rtl .markdown p,.ant-row-rtl .markdown pre{direction:rtl;text-align:right;}.markdown ul>li{margin-left:20px;padding-left:4px;list-style-type:circle;}.rtl .markdown ul>li{margin-right:20px;margin-left:0;padding-right:4px;padding-left:0;}.markdown ul>li:empty{display:none;}.markdown ol>li{margin-left:20px;padding-left:4px;list-style-type:decimal;}.ant-row-rtl .markdown ol>li{margin-right:20px;margin-left:0;padding-right:4px;padding-left:0;}.markdown ul>li>p,.markdown ol>li>p{margin:0.2em 0;}.markdown code{margin:0 1px;padding:0.2em 0.4em;font-size:0.9em;background:rgba(0, 0, 0, 0.04);border:1px solid rgba(5, 5, 5, 0.06);border-radius:3px;}.markdown pre{font-family:'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;background:rgba(0, 0, 0, 0.04);border-radius:6px;}.markdown pre code{margin:0;padding:0;overflow:auto;color:rgba(0, 0, 0, 0.88);font-size:13px;direction:ltr;text-align:left;background:#f5f5f5;border:none;}.markdown strong,.markdown b{font-weight:500;}.markdown .dumi-default-source-code{margin:1em 0;background-color:rgba(0, 0, 0, 0.04);border-radius:6px;}.markdown .dumi-default-source-code >pre.prism-code{padding:12px 20px;font-size:13px;line-height:2;}.pic-plus>*{display:inline-block!important;vertical-align:middle;}.pic-plus span{margin:0 20px;color:#aaa;font-size:30px;}.antd-site-snippet .ant-tabs-tab .snippet-label{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}.antd-site-snippet .ant-tabs-tab .snippet-label svg{-webkit-margin-end:8px;margin-inline-end:8px;}.antd-site-snippet .dumi-default-source-code{margin:0 auto;background-color:rgba(0, 0, 0, 0.04);border-radius:6px;}.antd-site-snippet .dumi-default-source-code >pre.prism-code{padding:12px 20px;font-size:13px;line-height:2;}.markdown table td>a:not(:last-child){margin-right:0!important;}.markdown table td>a:not(:last-child)::after{position:relative!important;}.markdown blockquote{margin:1em 0;padding-left:0.8em;color:rgba(0, 0, 0, 0.65);font-size:90%;border-left:4px solid rgba(5, 5, 5, 0.06);}.rtl .markdown blockquote{padding-right:0.8em;padding-left:0;border-right:4px solid rgba(5, 5, 5, 0.06);border-left:none;}.markdown blockquote p{margin:0;}.markdown .anchor{margin-left:8px;opacity:0;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;}.rtl .markdown .anchor{margin-right:8px;margin-left:0;}.markdown .waiting{color:#ccc;cursor:not-allowed;}.markdown a.edit-button{display:inline-block;margin-left:8px;-webkit-text-decoration:none;text-decoration:none;}.rtl .markdown a.edit-button{margin-right:8px;margin-left:0;-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg);}.markdown a.edit-button .anticon{display:block;color:rgba(0, 0, 0, 0.65);font-size:16px;-webkit-transition:all 0.3s;transition:all 0.3s;}.markdown a.edit-button .anticon:hover{color:rgba(0, 0, 0, 0.88);}.markdown h1:hover .anchor,.markdown h2:hover .anchor,.markdown h3:hover .anchor,.markdown h4:hover .anchor,.markdown h5:hover .anchor,.markdown h6:hover .anchor{display:inline-block;opacity:1;}.markdown>br,.markdown>p>br{clear:both;}.markdown .dumi-default-table table{margin:0;overflow-x:auto;overflow-y:hidden;direction:ltr;empty-cells:show;border:1px solid rgba(5, 5, 5, 0.06);border-collapse:collapse;border-spacing:0;}.markdown .dumi-default-table table th,.markdown .dumi-default-table table td{padding:12px 24px;text-align:left;border:1px solid rgba(5, 5, 5, 0.06);}.markdown .dumi-default-table table th:first-child,.markdown .dumi-default-table table td:first-child{border-left:1px solid rgba(5, 5, 5, 0.06);}.markdown .dumi-default-table table th:last-child,.markdown .dumi-default-table table td:last-child{border-right:1px solid rgba(5, 5, 5, 0.06);}.markdown .dumi-default-table table th img,.markdown .dumi-default-table table td img{max-width:unset;}.markdown .dumi-default-table table th{color:#5c6b77;font-weight:500;white-space:nowrap;background:rgba(0, 0, 0, 0.02);border-width:1px 1px 2px;}.markdown .dumi-default-table table tbody tr{-webkit-transition:all 0.3s;transition:all 0.3s;}.markdown .dumi-default-table table tbody tr:hover{background:rgba(60, 90, 100, 0.04);}.markdown .dumi-default-table table.component-api-table{margin:0;overflow-x:auto;overflow-y:hidden;font-size:13px;font-family:'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;line-height:1.5714285714285714;border:1px solid rgba(5, 5, 5, 0.06);border-width:0 1px;}.markdown .dumi-default-table table.component-api-table th{border-width:1px 0 2px;}.markdown .dumi-default-table table.component-api-table td{border-width:1px 0;}.markdown .dumi-default-table table.component-api-table td:first-child{width:18%;min-width:58px;color:#595959;font-weight:600;white-space:nowrap;}.markdown .dumi-default-table table.component-api-table td:nth-child(2){width:55%;min-width:160px;}.markdown .dumi-default-table table.component-api-table td:nth-child(3){width:22%;color:#c41d7f;font-size:13px;}.markdown .dumi-default-table table.component-api-table td:nth-child(4){width:15%;font-size:13px;}.markdown .dumi-default-table table.component-api-table td:nth-child(5){width:8%;font-size:13px;}.markdown .dumi-default-table table.component-api-table td:nth-last-child(3):first-child{width:38%;}.markdown .dumi-default-table table.component-api-table td:nth-last-child(3):first-child~td:nth-last-child(2){width:70%;}.grid-demo .ant-row>div,[id^='components-grid-demo-'] .ant-row>div,.grid-demo .code-box-demo .ant-row>div,[id^='components-grid-demo-'] .code-box-demo .ant-row>div{min-height:30px;margin-top:8px;margin-bottom:8px;color:#fff;text-align:center;border-radius:0;}.grid-demo .code-box-demo .ant-row>div:not(.gutter-row),[id^='components-grid-demo-'] .code-box-demo .ant-row>div:not(.gutter-row){padding:16px 0;background:#1677ff;}.grid-demo .code-box-demo .ant-row>div:not(.gutter-row):nth-child(2n + 1),[id^='components-grid-demo-'] .code-box-demo .ant-row>div:not(.gutter-row):nth-child(2n + 1){background:#1677ffbf;}.grid-demo .ant-row .demo-col,[id^='components-grid-demo-'] .ant-row .demo-col,.grid-demo .code-box-demo .ant-row .demo-col,[id^='components-grid-demo-'] .code-box-demo .ant-row .demo-col{margin-top:0;margin-bottom:0;padding:30px 0;color:#fff;font-size:18px;text-align:center;border:none;}.grid-demo .ant-row .demo-col-1,[id^='components-grid-demo-'] .ant-row .demo-col-1{background:#1677ff;}.grid-demo .ant-row .demo-col-2,[id^='components-grid-demo-'] .ant-row .demo-col-2,.grid-demo .code-box-demo .ant-row .demo-col-2,[id^='components-grid-demo-'] .code-box-demo .ant-row .demo-col-2{background:#1677ff;}.grid-demo .ant-row .demo-col-3,[id^='components-grid-demo-'] .ant-row .demo-col-3,.grid-demo .code-box-demo .ant-row .demo-col-3,[id^='components-grid-demo-'] .code-box-demo .ant-row .demo-col-3{color:#999;background:rgba(255, 255, 255, 0.2);}.grid-demo .ant-row .demo-col-4,[id^='components-grid-demo-'] .ant-row .demo-col-4,.grid-demo .code-box-demo .ant-row .demo-col-4,[id^='components-grid-demo-'] .code-box-demo .ant-row .demo-col-4{background:#1677ff;}.grid-demo .ant-row .demo-col-5,[id^='components-grid-demo-'] .ant-row .demo-col-5,.grid-demo .code-box-demo .ant-row .demo-col-5,[id^='components-grid-demo-'] .code-box-demo .ant-row .demo-col-5{color:#999;background:rgba(255, 255, 255, 0.2);}.grid-demo .code-box-demo .height-100,[id^='components-grid-demo-'] .code-box-demo .height-100{height:100px;line-height:100px;}.grid-demo .code-box-demo .height-50,[id^='components-grid-demo-'] .code-box-demo .height-50{height:50px;line-height:50px;}.grid-demo .code-box-demo .height-120,[id^='components-grid-demo-'] .code-box-demo .height-120{height:120px;line-height:120px;}.grid-demo .code-box-demo .height-80,[id^='components-grid-demo-'] .code-box-demo .height-80{height:80px;line-height:80px;}[id='components-grid-demo-playground'] >.code-box-demo .ant-row>div,[id='components-grid-demo-gutter'] >.code-box-demo .ant-row>div{margin-top:0;margin-bottom:0;}</style><style data-emotion="css-global 13tmslw">pre code{display:block;padding:16px 32px;color:rgba(0, 0, 0, 0.88);font-size:14px;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:2;white-space:pre;background:white;border:1px solid #e9e9e9;border-radius:6px;}code[class*='language-'],pre[class*='language-']{color:black;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:1.5;direction:ltr;white-space:pre;text-align:left;word-wrap:normal;word-break:normal;word-spacing:normal;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;background:none;}code[class*='css']{direction:ltr;}pre[class*='language-'] ::selection,code[class*='language-'] ::selection{text-shadow:none;background:#b3d4fc;}@media print{code[class*='language-'],pre[class*='language-']{text-shadow:none;}}pre[class*='language-']{margin:16px 0;padding:12px 20px;overflow:auto;}:not(pre)>code[class*='language-'],pre[class*='language-']{background:#f5f5f5;}:not(pre)>code[class*='language-']{padding:0.1em;white-space:normal;border-radius:0.3em;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.namespace{opacity:0.7;}.markdown .token.property,.markdown .token.tag,.markdown .token.boolean,.markdown .token.number,.markdown .token.constant,.markdown .token.symbol,.markdown .token.deleted{color:#f81d22;}.markdown .token.selector,.markdown .token.attr-name,.markdown .token.string,.markdown .token.char,.markdown .token.builtin,.markdown .token.inserted{color:#0b8235;}.markdown .token.operator,.markdown .token.entity,.markdown .token.url,.markdown .language-css .token.string,.markdown .style .token.string{color:#0b8235;}.markdown .token.atrule,.markdown .token.attr-value,.markdown .token.keyword{color:#008dff;}.markdown .token.function{color:#f81d22;}.markdown .token.regex,.markdown .token.important,.markdown .token.variable{color:#e90;}.markdown .token.important,.markdown .token.bold{font-weight:bold;}.markdown .token.italic{font-style:italic;}.markdown .token.entity{cursor:help;}</style><style data-emotion="css-global 17kvlx7">.code-boxes-col-1-1{width:100%;}.code-boxes-col-2-1{display:inline-block;vertical-align:top;}.code-box{position:relative;display:inline-block;width:100%;margin:0 0 16px;background-color:#ffffff;border:1px solid rgba(5, 5, 5, 0.06);border-radius:6px;-webkit-transition:all 0.2s;transition:all 0.2s;}.code-box .code-box-title,.code-box .code-box-title a{color:rgba(0, 0, 0, 0.88)!important;background:#ffffff;}.code-box .code-box-demo{background-color:#ffffff;border-radius:6px 6px 0 0;}.code-box .markdown pre{margin:0.5em 0;padding:6px 12px;}.code-box .markdown pre code{margin:0;background:#f5f5f5;}.code-box:target{border:1px solid #1677ff;}.code-box-expand-trigger{position:relative;color:#3b4357;font-size:20px;cursor:pointer;opacity:0.75;-webkit-transition:all 0.3s;transition:all 0.3s;-webkit-margin-start:12px;margin-inline-start:12px;}.code-box-expand-trigger:hover{opacity:1;}.code-box-title{position:absolute;top:-14px;padding:1px 8px;color:#777;background:#ffffff;border-radius:6px 6px 0 0;-webkit-transition:background-color 0.4s;transition:background-color 0.4s;-webkit-margin-start:16px;margin-inline-start:16px;}.ant-row-rtl .code-box-title{border-radius:6px 0 0 6px;}.code-box-title a,.code-box-title a:hover{color:rgba(0, 0, 0, 0.88);font-weight:500;font-size:14px;}.code-box-description{padding:18px 24px 12px;}.code-box a.edit-button{position:absolute;top:7px;right:-16px;font-size:12px;-webkit-text-decoration:none;text-decoration:none;background:inherit;-webkit-transform:scale(0.9);-moz-transform:scale(0.9);-ms-transform:scale(0.9);transform:scale(0.9);-webkit-padding-end:6px;padding-inline-end:6px;}.code-box a.edit-button .anticon{color:rgba(0, 0, 0, 0.65);-webkit-transition:all 0.3s;transition:all 0.3s;}.code-box a.edit-button .anticon:hover{color:rgba(0, 0, 0, 0.88);}.ant-row.ant-row-rtl .code-box a.edit-button{right:auto;left:-22px;}.code-box-demo{padding:42px 24px 50px;color:rgba(0, 0, 0, 0.88);border-bottom:1px solid rgba(5, 5, 5, 0.06);}.code-box iframe{width:100%;border:0;}.code-box-meta.markdown{position:relative;width:100%;font-size:14px;border-radius:0 0 6px 6px;-webkit-transition:background-color 0.4s;transition:background-color 0.4s;}.code-box-meta blockquote{line-height:1.5;}.code-box-meta h4,section.code-box-meta p{margin:0;}.code-box-meta >p{width:100%;margin:0.5em 0;font-size:12px;word-break:break-word;-webkit-padding-end:25px;padding-inline-end:25px;}.code-box.expand .code-box-meta{border-bottom:1px dashed rgba(5, 5, 5, 0.06);border-radius:0;}.code-box .code-expand-icon{position:relative;width:16px;height:16px;cursor:pointer;}.code-box .code-expand-icon-show,.code-box .code-expand-icon-hide{position:absolute;top:0;left:0;width:100%;max-width:100%;margin:0;box-shadow:none;-webkit-transition:all 0.4s;transition:all 0.4s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.ant-row-rtl .code-box .code-expand-icon-show,.ant-row-rtl .code-box .code-expand-icon-hide{right:0;left:auto;}.code-box .code-expand-icon-show{opacity:0.55;pointer-events:auto;}.code-box .code-expand-icon-show:hover{opacity:1;}.code-box .code-expand-icon.ant-tooltip-open .code-expand-icon-show{opacity:1;}.code-box .code-expand-icon-hide{opacity:0;pointer-events:none;}.code-box .highlight-wrapper{display:none;overflow:auto;border-radius:0 0 6px 6px;}.code-box .highlight-wrapper-expand{display:block;}.code-box .highlight{position:relative;}.code-box .highlight pre{margin:0;padding:0;background:#ffffff;}.code-box .highlight:not(:first-child){border-top:1px dashed rgba(5, 5, 5, 0.06);}.code-box-actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;padding:12px 0;border-top:1px dashed rgba(5, 5, 5, 0.06);opacity:0.7;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;}.code-box-actions:hover{opacity:1;}.code-box-actions .code-box-code-action{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:16px;height:16px;color:rgba(0, 0, 0, 0.65);cursor:pointer;-webkit-transition:all 0.24s;transition:all 0.24s;}.code-box-actions .code-box-code-action:hover{color:rgba(0, 0, 0, 0.88);}.code-box-actions .code-box-code-action .anticon{display:block;}.code-box-code-copy{width:14px;height:14px;font-size:14px;text-align:center;background:#ffffff;cursor:pointer;-webkit-transition:-webkit-transform 0.24s;transition:transform 0.24s;}.code-box-code-copy.anticon-check{color:#52c41a!important;font-weight:bold;}.code-box-codepen{width:14px;height:14px;overflow:hidden;border:0;cursor:pointer;}.code-box-riddle{width:14px;height:14px;overflow:hidden;border:0;cursor:pointer;}.code-box-codesandbox{width:16px;height:16px;overflow:hidden;border:0;cursor:pointer;}.code-box-codesandbox:hover{opacity:1;}.highlight-wrapper:hover .code-box-code-copy,.highlight-wrapper:hover .code-box-codepen,.highlight-wrapper:hover .code-box-codesandbox,.highlight-wrapper:hover .code-box-riddle{opacity:1;}.code-box pre{width:auto;margin:0;}.code-box pre code{background:#ffffff;border:none;box-shadow:unset;}.code-box-debug{border-color:#d3adf7;}.code-box-debug .code-box-title a{color:#722ed1;}.demo-wrapper{position:relative;}.all-code-box-controls{position:absolute;top:-32px;inset-inline-end:0;}.ant-row-rtl #components-tooltip-demo-placement .code-box-demo,.ant-row-rtl #components-popover-demo-placement .code-box-demo,.ant-row-rtl #components-popconfirm-demo-placement .code-box-demo{direction:ltr;}</style><style data-emotion="css-global hb0n9q">ul.anticons-list{margin:10px 0;overflow:hidden;direction:ltr;list-style:none;}ul.anticons-list li{position:relative;float:left;width:16.66%;height:100px;margin:3px 0;padding:10px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;-webkit-transition:color 0.3s ease-in-out,background-color 0.3s ease-in-out;transition:color 0.3s ease-in-out,background-color 0.3s ease-in-out;}.rtl ul.anticons-list li{margin:3px 0;padding:10px 0 0;}ul.anticons-list li .anticon{margin:12px 0 8px;font-size:36px;-webkit-transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;will-change:transform;}ul.anticons-list li .anticon-class{display:block;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;white-space:nowrap;text-align:center;-webkit-transform:scale(0.83);-moz-transform:scale(0.83);-ms-transform:scale(0.83);transform:scale(0.83);}ul.anticons-list li .anticon-class .ant-badge{-webkit-transition:color 0.3s ease-in-out;transition:color 0.3s ease-in-out;}ul.anticons-list li:hover{color:#fff;background-color:#1677ff;}ul.anticons-list li:hover .anticon{-webkit-transform:scale(1.4);-moz-transform:scale(1.4);-ms-transform:scale(1.4);transform:scale(1.4);}ul.anticons-list li:hover .ant-badge{color:#fff;}ul.anticons-list li.TwoTone:hover{background-color:#8ecafe;}ul.anticons-list li.copied:hover{color:rgba(255, 255, 255, 0.2);}ul.anticons-list li::after{position:absolute;top:0;left:0;width:100%;height:100%;color:#fff;line-height:110px;text-align:center;background:#1677ff;opacity:0;-webkit-transition:all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);transition:all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);content:'Copied!';}ul.anticons-list li.copied::after{opacity:1;}.copied-code{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px;}</style><style data-emotion="css-global ir8pau">.icon-pic-searcher{display:inline-block;margin:0 8px;}.icon-pic-searcher .icon-pic-btn{color:rgba(0, 0, 0, 0.45);cursor:pointer;-webkit-transition:all 0.3s;transition:all 0.3s;}.icon-pic-searcher .icon-pic-btn:hover{color:rgba(0, 0, 0, 0.88);}.icon-pic-preview{width:66px;height:66px;margin-top:10px;padding:8px;text-align:center;border:1px solid #d9d9d9;border-radius:4px;}.icon-pic-preview >img{max-width:50px;max-height:50px;}.icon-pic-search-result{min-height:50px;padding:0 10px;}.icon-pic-search-result >.result-tip{padding:10px 0;color:rgba(0, 0, 0, 0.65);}.icon-pic-search-result >table{width:100%;}.icon-pic-search-result >table .col-icon{width:80px;padding:10px 0;}.icon-pic-search-result >table .col-icon >.anticon{font-size:30px;}.icon-pic-search-result >table .col-icon >.anticon:hover{color:#69b1ff;}</style><style data-emotion="css-global 2xd41">.browser-mockup{position:relative;border-top:2em solid rgba(230, 230, 230, 0.7);border-radius:3px 3px 0 0;box-shadow:0 0.1em 0.5em 0 rgba(0, 0, 0, 0.28);}.browser-mockup::before{position:absolute;top:-1.25em;left:1em;display:block;width:0.5em;height:0.5em;background-color:#f44;border-radius:50%;box-shadow:0 0 0 2px #f44,1.5em 0 0 2px #9b3,3em 0 0 2px #fb5;content:'';}.browser-mockup.with-tab::after{position:absolute;top:-2em;left:5.5em;display:block;width:20%;height:0;border-right:0.8em solid transparent;border-bottom:2em solid white;border-left:0.8em solid transparent;content:'';}.browser-mockup.with-url::after{position:absolute;top:-1.6em;left:5.5em;display:block;width:calc(100% - 6em);height:1.2em;background-color:white;border-radius:2px;content:'';}.browser-mockup>*{display:block;}</style><style data-emotion="css-global oncf45">.nav-phone-icon{position:absolute;top:25px;right:30px;z-index:1;display:none;width:16px;height:22px;cursor:pointer;}@media only screen and (max-width: 992px){.code-boxes-col-2-1,.code-boxes-col-1-1{float:none;width:100%;max-width:unset;}}@media only screen and (max-width: 767.99px){.preview-image-boxes{float:none;width:100%;margin:0!important;}.preview-image-box{width:100%;margin:10px 0;padding:0;}.image-wrapper{display:none;}div.version{display:block;margin:29px auto 16px;}.toc{display:none;}.nav-phone-icon{display:block;}.main{height:calc(100% - 86px);}.aside-container{float:none;width:auto;padding-bottom:30px;border-right:0;}.ant-row-rtl{margin-right:0;margin-left:0;padding-right:16px;padding-left:16px;}.ant-row-rtl >.markdown>*{width:100%!important;}.main-wrapper{width:100%;margin:0;border-radius:0;}.prev-next-nav{width:calc(100% - 32px);margin-left:16px;}.ant-row-rtl .prev-next-nav{margin-right:16px;margin-left:64px;}.drawer .ant-menu-inline .ant-menu-item::after,.drawer .ant-menu-vertical .ant-menu-item::after{right:auto;left:0;}.home-page-wrapper .page h2{margin:80px auto 64px;}.home-page-wrapper .parallax-bg{display:none;}.banner{display:block;height:632px;}.banner-bg-wrapper{display:none;}.banner .img-wrapper,.banner .text-wrapper{display:inline-block;width:100%;min-width:unset;max-width:unset;margin:auto;text-align:center;}.banner .img-wrapper{position:initial;margin-top:20px;text-align:center;}.banner .img-wrapper svg{width:100%;max-width:260px;height:auto;margin:0 auto;}.banner .text-wrapper{min-height:200px;margin-top:32px;padding:0;}.banner .text-wrapper h1{display:none;}.banner .text-wrapper p{color:#314659;font-size:14px;line-height:28px;}.banner .text-wrapper .banner-btns{display:block;min-width:100%;white-space:nowrap;text-align:center;}.banner .text-wrapper .banner-btns .banner-btn{padding:0 20px;font-size:14px;}.banner .text-wrapper .banner-promote{min-width:100%;margin-top:32px;}.banner .text-wrapper .banner-promote .ant-divider{display:none;}.banner .text-wrapper .banner-promote a{font-size:14px;white-space:nowrap;}.banner .text-wrapper .banner-promote a img{width:20px;}.page1{min-height:1300px;}.page1 .ant-row{margin:24px auto 64px;}.page1 .ant-row >div{margin-bottom:48px;}.page2{min-height:840px;background:#ffffff;}.page2-content{box-shadow:none;}.page2-components{display:none;}.page2-product{min-height:auto;padding:0 16px;}.page2-product .product-block{margin-bottom:34px;padding-bottom:35px;border-bottom:1px solid rgba(5, 5, 5, 0.06);}.page2-product .product-block:last-child{margin-bottom:32px;border-bottom:none;}.page2-product .product-block:last-child .block-text-wrapper{height:auto;}.page2-product .product-block .block-image-wrapper{height:88px;}.page2-product .product-block .block-image-wrapper img{height:100%;}.page2-product .product-block .block-text-wrapper{padding-bottom:0;border-bottom:none;}.page2-product .product-block .block-text-wrapper h4{margin-bottom:4px;font-size:18px;line-height:24px;}.page2-product .product-block .block-text-wrapper p{margin-bottom:8px;font-size:12px;line-height:20px;}.page2-product .product-block .block-text-wrapper a{line-height:20px;}.page2-product .product-block .block-text-wrapper .components-button-wrapper{margin-top:16px;font-size:12px;}.page2-product .product-block .block-text-wrapper .components-button-wrapper a{display:block;}.page2-product .product-block .block-text-wrapper a.more-mobile-react,.page2-product .product-block .block-text-wrapper a.more-mobile-angular{margin-top:0;color:#1677ff;}.page2-product .product-block .block-text-wrapper a.more-mobile-react:hover,.page2-product .product-block .block-text-wrapper a.more-mobile-angular:hover{color:#40a9ff;}.page3{min-height:688px;background:url('https://gw.alipayobjects.com/zos/rmsportal/qICoJIqqQRMeRGhPHBBS.svg') no-repeat;-webkit-background-size:cover;background-size:cover;}.page3 .ant-row{margin:0 8px;}.page3 .page3-block{margin-bottom:32px;padding:24px;background:#ffffff;border-radius:4px;box-shadow:0 8px 16px rgba(174, 185, 193, 0.3);}.page3 .page3-block:nth-child(2) .page3-img-wrapper img{display:block;width:70%;margin:auto;}.page3 .page3-block p{font-size:12px;}.page3 .page3-block .page3-img-wrapper{width:20%;}.page3 .page3-block .page3-img-wrapper img{width:100%;}.page3 .page3-block .page3-text-wrapper{width:80%;max-width:initial;margin:0;padding-left:16px;}}</style><style data-emotion="css-global ttxzth">#nprogress .bar{background:#1677ff;}#nprogress .peg{box-shadow:0 0 10px #1677ff,0 0 5px #1677ff;}#nprogress .spinner-icon{border-top-color:#1677ff;border-left-color:#1677ff;}</style><style data-emotion="css-global qqeln4">.preview-image-boxes{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;float:right;clear:both;width:496px;margin:0 0 70px 64px;}.preview-image-boxes-with-carousel{width:420px;}.preview-image-boxes-with-carousel .preview-image-box img{padding:0;}.ant-row-rtl .preview-image-boxes{float:left;margin:0 64px 70px 0;}.preview-image-boxes+.preview-image-boxes{margin-top:-35px;}.preview-image-box{float:left;width:100%;}.preview-image-box+.preview-image-box{margin-left:24px;}.ant-row-rtl .preview-image-box+.preview-image-box{margin-right:24px;margin-left:0;}.preview-image-wrapper{position:relative;display:inline-block;width:100%;padding:16px;text-align:center;background:#f2f4f5;box-sizing:border-box;}.preview-image-wrapper.video{display:block;padding:0;background:0;}.preview-image-wrapper video{display:block;width:100%;}.preview-image-wrapper video +svg{position:absolute;top:0;left:0;}.preview-image-wrapper.good::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:3px;background:#1677ff;content:'';}.preview-image-wrapper.bad::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:3px;background:#ff4d4f;content:'';}.preview-image-title{margin-top:20px;color:rgba(0, 0, 0, 0.88);font-size:12px;}.preview-image-description{margin-top:2px;color:rgba(0, 0, 0, 0.65);font-size:12px;line-height:1.5;}.preview-image-description hr{margin:2px 0;background:none;border:0;}.preview-image-box img{box-sizing:border-box;max-width:100%;padding:12px;background:#ffffff;border-radius:6px;cursor:pointer;-webkit-transition:all 0.3s;transition:all 0.3s;}.preview-image-box img.no-padding{padding:0;background:none;}.preview-image-boxes.preview-image-boxes-with-carousel img{padding:0;box-shadow:0 1px 0 0 #ddd,0 3px 0 0 #ffffff,0 4px 0 0 #ddd,0 6px 0 0 #ffffff,0 7px 0 0 #ddd;}.preview-image-box img:hover{box-shadow:1px 1px 6px rgba(0, 0, 0, 0.3);}.transition-video-player,.motion-video-min{float:right;width:600px;padding:0 0 70px 20px;}.transition-video-player .preview-image-wrapper,.motion-video-min .preview-image-wrapper{padding:0;}.ant-row-rtl .transition-video-player,.ant-row-rtl .motion-video-min{float:left;}.motion-video-min{width:390px;}.motion-principle-wrapper{width:100%;max-width:900px;margin:48px 0 24px;}.principle-wrapper{width:100%;}.principle-wrapper .principle{display:inline-block;box-sizing:border-box;width:100%;min-height:180px;margin-right:12.5%;margin-bottom:24px;padding:24px;font-size:24px;text-align:center;border:1px solid #e8e8e8;border-radius:4px;}.principle-wrapper .principle:last-child{margin-right:0;}.principle-wrapper .principle h4{margin:16px 0 8px;}.principle-wrapper .principle p{font-size:12px;line-height:24px;}</style><style data-emotion="css-global 3mbwcg">.design-inline-cards{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0 -20px;}.design-inline-cards>*{-webkit-flex:10%;-ms-flex:10%;flex:10%;margin:0 20px;}.design-inline-cards img{width:100%;max-width:100%;}.design-inline-cards h4{margin-bottom:0;}</style><style data-emotion="css-global 12mrfb1">.color-palettes{margin:0 1%;}.color-palettes-dark{margin:0;padding:0 28px;background-color:#141414;}.color-palettes-dark .color-title{color:rgba(255, 255, 255, 0.85);}.color-palettes-dark .color-description{color:rgba(255, 255, 255, 0.45);}.color-palettes-dark .color-palette{margin:45px 3.5% 45px 0;}.color-palettes-dark .color-palette:nth-of-type(3n){margin-right:0;}.color-palettes-dark .color-palette .main-color-item{margin-right:0;}.color-palettes-dark .color-palette .main-color-item:hover{margin-right:-8px;}.color-palette{display:inline-block;width:31%;margin:45px 1%;}.color-palette-pick{margin:0 0 20px;font-size:20px;text-align:center;}.color-palette-picker{margin:24px 0;}.color-palette-picker-value{position:relative;top:-3px;margin-left:16px;font-size:14px;font-family:Consolas,sans-serif;}.ant-row-rtl .color-palette-picker-value{margin-right:16px;margin-left:0;}.color-palette-picker-validation{position:relative;top:-3px;margin-left:16px;color:#ff4d4f;font-size:13px;}.ant-row-rtl .color-palette-picker-validation{margin-right:16px;margin-left:0;}.color-palette-picker-validation-dark{margin-left:0;}.main-color{text-align:left;}.main-color .palette-blue-1{background:#e6f4ff;}.main-color .palette-blue-2{background:#bae0ff;}.main-color .palette-blue-3{background:#91caff;}.main-color .palette-blue-4{background:#69b1ff;}.main-color .palette-blue-5{background:#4096ff;}.main-color .palette-blue-6{background:#1677ff;}.main-color .palette-blue-7{background:#0958d9;}.main-color .palette-blue-8{background:#003eb3;}.main-color .palette-blue-9{background:#002c8c;}.main-color .palette-blue-10{background:#001d66;}.main-color .palette-purple-1{background:#f9f0ff;}.main-color .palette-purple-2{background:#efdbff;}.main-color .palette-purple-3{background:#d3adf7;}.main-color .palette-purple-4{background:#b37feb;}.main-color .palette-purple-5{background:#9254de;}.main-color .palette-purple-6{background:#722ed1;}.main-color .palette-purple-7{background:#531dab;}.main-color .palette-purple-8{background:#391085;}.main-color .palette-purple-9{background:#22075e;}.main-color .palette-purple-10{background:#120338;}.main-color .palette-cyan-1{background:#e6fffb;}.main-color .palette-cyan-2{background:#b5f5ec;}.main-color .palette-cyan-3{background:#87e8de;}.main-color .palette-cyan-4{background:#5cdbd3;}.main-color .palette-cyan-5{background:#36cfc9;}.main-color .palette-cyan-6{background:#13c2c2;}.main-color .palette-cyan-7{background:#08979c;}.main-color .palette-cyan-8{background:#006d75;}.main-color .palette-cyan-9{background:#00474f;}.main-color .palette-cyan-10{background:#002329;}.main-color .palette-green-1{background:#f6ffed;}.main-color .palette-green-2{background:#d9f7be;}.main-color .palette-green-3{background:#b7eb8f;}.main-color .palette-green-4{background:#95de64;}.main-color .palette-green-5{background:#73d13d;}.main-color .palette-green-6{background:#52c41a;}.main-color .palette-green-7{background:#389e0d;}.main-color .palette-green-8{background:#237804;}.main-color .palette-green-9{background:#135200;}.main-color .palette-green-10{background:#092b00;}.main-color .palette-magenta-1{background:#fff0f6;}.main-color .palette-magenta-2{background:#ffd6e7;}.main-color .palette-magenta-3{background:#ffadd2;}.main-color .palette-magenta-4{background:#ff85c0;}.main-color .palette-magenta-5{background:#f759ab;}.main-color .palette-magenta-6{background:#eb2f96;}.main-color .palette-magenta-7{background:#c41d7f;}.main-color .palette-magenta-8{background:#9e1068;}.main-color .palette-magenta-9{background:#780650;}.main-color .palette-magenta-10{background:#520339;}.main-color .palette-red-1{background:#fff1f0;}.main-color .palette-red-2{background:#ffccc7;}.main-color .palette-red-3{background:#ffa39e;}.main-color .palette-red-4{background:#ff7875;}.main-color .palette-red-5{background:#ff4d4f;}.main-color .palette-red-6{background:#f5222d;}.main-color .palette-red-7{background:#cf1322;}.main-color .palette-red-8{background:#a8071a;}.main-color .palette-red-9{background:#820014;}.main-color .palette-red-10{background:#5c0011;}.main-color .palette-volcano-1{background:#fff2e8;}.main-color .palette-volcano-2{background:#ffd8bf;}.main-color .palette-volcano-3{background:#ffbb96;}.main-color .palette-volcano-4{background:#ff9c6e;}.main-color .palette-volcano-5{background:#ff7a45;}.main-color .palette-volcano-6{background:#fa541c;}.main-color .palette-volcano-7{background:#d4380d;}.main-color .palette-volcano-8{background:#ad2102;}.main-color .palette-volcano-9{background:#871400;}.main-color .palette-volcano-10{background:#610b00;}.main-color .palette-orange-1{background:#fff7e6;}.main-color .palette-orange-2{background:#ffe7ba;}.main-color .palette-orange-3{background:#ffd591;}.main-color .palette-orange-4{background:#ffc069;}.main-color .palette-orange-5{background:#ffa940;}.main-color .palette-orange-6{background:#fa8c16;}.main-color .palette-orange-7{background:#d46b08;}.main-color .palette-orange-8{background:#ad4e00;}.main-color .palette-orange-9{background:#873800;}.main-color .palette-orange-10{background:#612500;}.main-color .palette-gold-1{background:#fffbe6;}.main-color .palette-gold-2{background:#fff1b8;}.main-color .palette-gold-3{background:#ffe58f;}.main-color .palette-gold-4{background:#ffd666;}.main-color .palette-gold-5{background:#ffc53d;}.main-color .palette-gold-6{background:#faad14;}.main-color .palette-gold-7{background:#d48806;}.main-color .palette-gold-8{background:#ad6800;}.main-color .palette-gold-9{background:#874d00;}.main-color .palette-gold-10{background:#613400;}.main-color .palette-yellow-1{background:#feffe6;}.main-color .palette-yellow-2{background:#ffffb8;}.main-color .palette-yellow-3{background:#fffb8f;}.main-color .palette-yellow-4{background:#fff566;}.main-color .palette-yellow-5{background:#ffec3d;}.main-color .palette-yellow-6{background:#fadb14;}.main-color .palette-yellow-7{background:#d4b106;}.main-color .palette-yellow-8{background:#ad8b00;}.main-color .palette-yellow-9{background:#876800;}.main-color .palette-yellow-10{background:#614700;}.main-color .palette-lime-1{background:#fcffe6;}.main-color .palette-lime-2{background:#f4ffb8;}.main-color .palette-lime-3{background:#eaff8f;}.main-color .palette-lime-4{background:#d3f261;}.main-color .palette-lime-5{background:#bae637;}.main-color .palette-lime-6{background:#a0d911;}.main-color .palette-lime-7{background:#7cb305;}.main-color .palette-lime-8{background:#5b8c00;}.main-color .palette-lime-9{background:#3f6600;}.main-color .palette-lime-10{background:#254000;}.main-color .palette-geekblue-1{background:#f0f5ff;}.main-color .palette-geekblue-2{background:#d6e4ff;}.main-color .palette-geekblue-3{background:#adc6ff;}.main-color .palette-geekblue-4{background:#85a5ff;}.main-color .palette-geekblue-5{background:#597ef7;}.main-color .palette-geekblue-6{background:#2f54eb;}.main-color .palette-geekblue-7{background:#1d39c4;}.main-color .palette-geekblue-8{background:#10239e;}.main-color .palette-geekblue-9{background:#061178;}.main-color .palette-geekblue-10{background:#030852;}.main-color .palette-gray-1{background:#fff;}.main-color .palette-gray-2{background:#fafafa;}.main-color .palette-gray-3{background:#f5f5f5;}.main-color .palette-gray-4{background:#f0f0f0;}.main-color .palette-gray-5{background:#d9d9d9;}.main-color .palette-gray-6{background:#bfbfbf;}.main-color .palette-gray-7{background:#8c8c8c;}.main-color .palette-gray-8{background:#595959;}.main-color .palette-gray-9{background:#434343;}.main-color .palette-gray-10{background:#262626;}.main-color .palette-gray-11{background:#1f1f1f;}.main-color .palette-gray-12{background:#141414;}.main-color .palette-gray-13{background:#000;}.main-color-item{position:relative;height:44px;margin-right:4px;padding:0 12px;font-size:14px;font-family:Consolas,sans-serif;line-height:44px;cursor:pointer;-webkit-transition:all 0.2s;transition:all 0.2s;}.main-color-item:first-child{border-radius:4px 4px 0 0;}.main-color-item:last-child{border-radius:0 0 4px 4px;}.main-color-item:hover{margin-right:-8px;border-radius:0 4px 4px 0;}.main-color-item .main-color-text{float:left;-webkit-transition:all 0.3s;transition:all 0.3s;}.main-color-item .main-color-value{position:relative;left:3px;float:right;-webkit-transform:scale(0.85);-moz-transform:scale(0.85);-ms-transform:scale(0.85);transform:scale(0.85);transform-origin:100% 50%;opacity:0;-webkit-transition:all 0.3s;transition:all 0.3s;}.color-title{margin:0 0 24px;color:#5c6b77;font-weight:500;font-size:22px;text-align:center;text-transform:capitalize;}.color-description{display:block;color:#777;font-weight:lighter;font-size:14px;}.main-color:hover .main-color-value{left:0;opacity:0.7;}.color-palette-horizontal{box-sizing:border-box;width:100%;}.color-palette-horizontal-dark{height:303px;padding:32px 28px;background-color:#141414;}.color-palette-horizontal-dark .color-palette-picker{margin-bottom:0;}.color-palette-horizontal-dark .color-palette-pick{color:rgba(255, 255, 255, 0.65);text-align:left;}.color-palette-horizontal-dark .color-palette-pick-hex{color:rgba(255, 255, 255, 0.65);}.ant-row-rtl .color-palette-horizontal-dark .color-palette-pick{direction:rtl;text-align:right;}.color-palette-horizontal .main-color{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.color-palette-horizontal .main-color-item{position:relative;-webkit-flex:1;-ms-flex:1;flex:1;box-sizing:border-box;height:86px;margin-right:0;padding:37px 0 0;line-height:normal;text-align:center;border-radius:0;}.color-palette-horizontal .main-color-item .main-color-text{float:none;}.color-palette-horizontal .main-color-item:hover{height:96px;margin-top:-10px;border-radius:4px 4px 0 0;}.color-palette-horizontal .main-color-value{position:absolute;bottom:0;left:0;width:100%;text-align:center;transform-origin:unset;}.color-palette-horizontal .main-color:hover .main-color-item{padding-top:8px;}.color-palette-horizontal .main-color:hover .main-color-value{bottom:8px;opacity:0.7;}</style><style data-emotion="css-global 1kp1585">h1 >a[aria-hidden]:first-child,h2 >a[aria-hidden]:first-child,h3 >a[aria-hidden]:first-child,h4 >a[aria-hidden]:first-child,h5 >a[aria-hidden]:first-child,h6 >a[aria-hidden]:first-child{float:left;width:20px;-webkit-padding-end:4px;padding-inline-end:4px;font-size:0;line-height:inherit;text-align:right;-webkit-padding-end:4px;padding-inline-end:4px;-webkit-margin-start:-24px;margin-inline-start:-24px;}[data-direction='rtl'] h1 >a[aria-hidden]:first-child,[data-direction='rtl'] h2 >a[aria-hidden]:first-child,[data-direction='rtl'] h3 >a[aria-hidden]:first-child,[data-direction='rtl'] h4 >a[aria-hidden]:first-child,[data-direction='rtl'] h5 >a[aria-hidden]:first-child,[data-direction='rtl'] h6 >a[aria-hidden]:first-child{float:right;}h1 >a[aria-hidden]:first-child:hover,h2 >a[aria-hidden]:first-child:hover,h3 >a[aria-hidden]:first-child:hover,h4 >a[aria-hidden]:first-child:hover,h5 >a[aria-hidden]:first-child:hover,h6 >a[aria-hidden]:first-child:hover{border:0;}h1 >a[aria-hidden]:first-child >.icon-link::before,h2 >a[aria-hidden]:first-child >.icon-link::before,h3 >a[aria-hidden]:first-child >.icon-link::before,h4 >a[aria-hidden]:first-child >.icon-link::before,h5 >a[aria-hidden]:first-child >.icon-link::before,h6 >a[aria-hidden]:first-child >.icon-link::before{font-size:20px;content:'#';}h1:not(:hover)>a[aria-hidden]:first-child>.icon-link,h2:not(:hover)>a[aria-hidden]:first-child>.icon-link,h3:not(:hover)>a[aria-hidden]:first-child>.icon-link,h4:not(:hover)>a[aria-hidden]:first-child>.icon-link,h5:not(:hover)>a[aria-hidden]:first-child>.icon-link,h6:not(:hover)>a[aria-hidden]:first-child>.icon-link{visibility:hidden;}</style><style data-emotion="css-global 1or24qf">html .dumi-default-search-bar-input{color:rgba(0, 0, 0, 0.88);background:#ffffff;}html .dumi-default-search-bar-input:focus{background:#ffffff;}html .dumi-default-search-bar-input::-webkit-input-placeholder{color:rgba(0, 0, 0, 0.25)!important;}html .dumi-default-search-bar-input::-moz-placeholder{color:rgba(0, 0, 0, 0.25)!important;}html .dumi-default-search-bar-input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.25)!important;}html .dumi-default-search-bar-input::placeholder{color:rgba(0, 0, 0, 0.25)!important;}html .dumi-default-search-popover{background-color:#ffffff!important;}html .dumi-default-search-popover::before{border-bottom-color:#ffffff!important;}html .dumi-default-search-result dl dt{background-color:#e6f4ff!important;}html .dumi-default-search-result dl dd a:hover{background-color:rgba(0, 0, 0, 0.04);}html .dumi-default-search-result dl dd a:hover h4,html .dumi-default-search-result dl dd a:hover p{color:rgba(0, 0, 0, 0.88)!important;}html .dumi-default-search-result dl dd a:hover svg{fill:rgba(0, 0, 0, 0.88)!important;}</style><style data-emotion="css 1m6c83y">.css-1m6c83y{position:relative;z-index:10;max-width:100%;background:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02);}@media only screen and (max-width: 767.99px){.css-1m6c83y{text-align:center;}}.css-1m6c83y .nav-search-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:auto;-ms-flex:auto;flex:auto;}.css-1m6c83y .dumi-default-search-bar{border-inline-start:1px solid rgba(0, 0, 0, 0.06);}.css-1m6c83y .dumi-default-search-bar >svg{width:14px;fill:#ced4d9;}.css-1m6c83y .dumi-default-search-bar >input{height:22px;border:0;}.css-1m6c83y .dumi-default-search-bar >input:focus{box-shadow:none;}.css-1m6c83y .dumi-default-search-bar >input::-webkit-input-placeholder{color:#ced4d9;}.css-1m6c83y .dumi-default-search-bar >input::-moz-placeholder{color:#ced4d9;}.css-1m6c83y .dumi-default-search-bar >input:-ms-input-placeholder{color:#ced4d9;}.css-1m6c83y .dumi-default-search-bar >input::placeholder{color:#ced4d9;}.css-1m6c83y .dumi-default-search-bar .dumi-default-search-shortcut{color:#ced4d9;background-color:rgba(150, 150, 150, 0.06);border-color:rgba(100, 100, 100, 0.2);border-radius:4px;}.css-1m6c83y .dumi-default-search-bar .dumi-default-search-popover{inset-inline-start:11px;inset-inline-end:unset;}.css-1m6c83y .dumi-default-search-bar .dumi-default-search-popover::before{inset-inline-start:100px;inset-inline-end:unset;}</style><style data-emotion="css 10if06k">.css-10if06k{height:64px;-webkit-padding-start:40px;padding-inline-start:40px;overflow:hidden;color:rgba(0, 0, 0, 0.88);font-weight:bold;font-size:18px;font-family:AlibabaPuHuiTi,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji',sans-serif;line-height:64px;letter-spacing:-0.18px;white-space:nowrap;-webkit-text-decoration:none;text-decoration:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.css-10if06k:hover{color:rgba(0, 0, 0, 0.88);}.css-10if06k img{height:32px;vertical-align:middle;-webkit-margin-end:12px;margin-inline-end:12px;}@media only screen and (max-width: 767.99px){.css-10if06k{-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;}}</style><style data-emotion="css zsb1p1">.css-zsb1p1{line-height:32px;}</style><style data-emotion="css xbxnqh">.css-xbxnqh{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;}.css-xbxnqh >*{-webkit-flex:none;-ms-flex:none;flex:none;margin:0;-webkit-margin-end:12px;margin-inline-end:12px;}.css-xbxnqh >*:last-child{-webkit-margin-end:40px;margin-inline-end:40px;}</style><style data-emotion="css 1n8kzv5">.css-1n8kzv5{height:100%;font-size:14px;font-family:Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji',sans-serif;border:0;}.css-1n8kzv5.ant-menu-horizontal{border-bottom:none;}.css-1n8kzv5.ant-menu-horizontal>.ant-menu-item,.css-1n8kzv5.ant-menu-horizontal>.ant-menu-submenu{min-width:64px;height:64px;padding-right:12px;padding-left:12px;line-height:64px;}.css-1n8kzv5.ant-menu-horizontal>.ant-menu-item::after,.css-1n8kzv5.ant-menu-horizontal>.ant-menu-submenu::after{top:0;right:12px;bottom:auto;left:12px;border-width:2px;}.css-1n8kzv5.ant-menu-horizontal .ant-menu-submenu-title .anticon{margin:0;}.css-1n8kzv5.ant-menu-horizontal>.ant-menu-item-selected a{color:#1677ff;}.css-1n8kzv5>.ant-menu-item,.css-1n8kzv5>.ant-menu-submenu{text-align:center;}</style><style data-emotion="css f8juvi">.css-f8juvi{font-size:9px;margin:-1px 0 0 2px;vertical-align:middle;}</style><style data-emotion="css 14dvgsk">.css-14dvgsk{color:rgba(0, 0, 0, 0.88);border-color:#d9d9d9;padding:0!important;width:32px;height:32px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;border:none;background:transparent;border-radius:6px;-webkit-transition:all 0s;transition:all 0s;cursor:pointer;}.css-14dvgsk .btn-inner{-webkit-transition:all 0s;transition:all 0s;}.css-14dvgsk:hover{background:rgba(0, 0, 0, 0.06);}.css-14dvgsk img{width:1.2em;height:1.2em;}.css-14dvgsk .anticon{font-size:1.2em;}</style><style data-emotion="css l1r9gy">.css-l1r9gy{position:relative;width:1.2em;height:1.2em;}</style><style data-emotion="css 1tyqv1q">.css-1tyqv1q{position:absolute;font-size:1.2em;line-height:1;border:1px solid rgba(0, 0, 0, 0.88);color:rgba(0, 0, 0, 0.88);left:-5%;top:0;z-index:1;background-color:rgba(0, 0, 0, 0.88);color:#ffffff;-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);transform:scale(0.7);transform-origin:0 0;}</style><style data-emotion="css 16okui4">.css-16okui4{position:absolute;font-size:1.2em;line-height:1;border:1px solid rgba(0, 0, 0, 0.88);color:rgba(0, 0, 0, 0.88);right:-5%;bottom:0;z-index:0;-webkit-transform:scale(0.5);-moz-transform:scale(0.5);-ms-transform:scale(0.5);transform:scale(0.5);transform-origin:100% 100%;}</style><style data-emotion="css 1cjitc6">.css-1cjitc6{width:16px;}</style><style data-emotion="css pmt1eg">.css-pmt1eg{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-top:40px;}</style><style data-emotion="css 14h0zo3">.css-14h0zo3{z-index:1;}.css-14h0zo3 .main-menu-inner{position:-webkit-sticky;position:sticky;top:0;width:100%;height:100%;max-height:100vh;overflow:hidden;}.css-14h0zo3:hover .main-menu-inner{overflow-y:auto;}</style><style data-emotion="css 1x4s3ls">.css-1x4s3ls{min-height:100%;padding-bottom:48px;font-family:Avenir,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji',sans-serif;}.css-1x4s3ls.ant-menu-inline .ant-menu-submenu-title h4,.css-1x4s3ls.ant-menu-inline >.ant-menu-item,.css-1x4s3ls.ant-menu-inline .ant-menu-item a{overflow:hidden;font-size:14px;text-overflow:ellipsis;}.css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-title{margin-top:16px;margin-bottom:16px;font-size:13px;}.css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-title::after{position:relative;top:12px;display:block;width:calc(100% - 20px);height:1px;background:rgba(5, 5, 5, 0.06);content:'';}.css-1x4s3ls.ant-menu-inline >.ant-menu-item,.css-1x4s3ls.ant-menu-inline >.ant-menu-submenu>.ant-menu-submenu-title,.css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-title,.css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.css-1x4s3ls.ant-menu-inline.ant-menu-inline>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item{padding-left:40px!important;}.ant-row-rtl .css-1x4s3ls.ant-menu-inline >.ant-menu-item,.ant-row-rtl .css-1x4s3ls.ant-menu-inline >.ant-menu-submenu>.ant-menu-submenu-title,.ant-row-rtl .css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-title,.ant-row-rtl .css-1x4s3ls.ant-menu-inline >.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-row-rtl .css-1x4s3ls.ant-menu-inline.ant-menu-inline>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item{padding-right:40px!important;padding-left:16px!important;}.css-1x4s3ls.ant-menu-inline.ant-menu-inline .ant-menu-item-group-title{margin-left:4px;padding-left:60px;}.ant-row-rtl .css-1x4s3ls.ant-menu-inline.ant-menu-inline .ant-menu-item-group-title{padding-right:60px;padding-left:16px;}.css-1x4s3ls.ant-menu-inline.ant-menu-inline .ant-menu-item-group-list>.ant-menu-item{padding-left:80px!important;}.ant-row-rtl .css-1x4s3ls.ant-menu-inline.ant-menu-inline .ant-menu-item-group-list>.ant-menu-item{padding-right:80px!important;padding-left:16px!important;}.css-1x4s3ls.ant-menu-inline .ant-menu-item-group:first-child .ant-menu-item-group-title{margin-top:0;}.css-1x4s3ls a[disabled]{color:#ccc;}.css-1x4s3ls .chinese{margin-left:6px;font-weight:normal;font-size:12px;opacity:0.67;}</style><style data-emotion="css 3m1f9t">.css-3m1f9t{position:absolute;top:8px;inset-inline-end:0;width:160px;margin:12px 0;padding:8px 0;padding-inline:4px 8px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:6px;box-sizing:border-box;}.css-3m1f9t .toc-debug{color:#722ed1;}.css-3m1f9t .toc-debug:hover{color:#9254de;}.css-3m1f9t >div{box-sizing:border-box;width:100%;max-height:calc(100vh - 40px)!important;margin:0 auto;overflow:auto;padding-inline:4px;}@media only screen and (max-width: 992px){.css-3m1f9t{display:none;}}</style><style data-emotion="css 1mtserg">.css-1mtserg .ant-anchor .ant-anchor-link-title{font-size:12px;}</style><style data-emotion="css 324864">.css-324864{padding:0 170px 32px 64px;}.css-324864.rtl{padding:0 64px 144px 170px;}@media only screen and (max-width: 992px){.css-324864,.css-324864.rtl{padding:0 48px;}}</style><style data-emotion="css le7aoc">a.css-le7aoc{position:relative;top:-2px;display:inline-block;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle;-webkit-margin-start:6px;margin-inline-start:6px;}a.css-le7aoc .anticon{display:block;color:rgba(0, 0, 0, 0.45);font-size:16px;-webkit-transition:all 0.3s;transition:all 0.3s;}a.css-le7aoc .anticon:hover{color:rgba(0, 0, 0, 0.88);}</style><style data-emotion="css uqqeki">.css-uqqeki{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:120px!important;clear:both;}.css-uqqeki a,.css-uqqeki .ant-avatar+.ant-avatar{-webkit-transition:all 0s;transition:all 0s;-webkit-margin-end:-8px;margin-inline-end:-8px;}.css-uqqeki:hover a,.css-uqqeki:hover .ant-avatar{-webkit-margin-end:0;margin-inline-end:0;}</style><style data-emotion="css 1d0sb0m">.css-1d0sb0m{width:calc(100% - 234px);-webkit-margin-end:170px;margin-inline-end:170px;-webkit-margin-start:64px;margin-inline-start:64px;overflow:hidden;font-size:14px;border-top:1px solid rgba(5, 5, 5, 0.06);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}</style><style data-emotion="css gls9j">.css-gls9j{-webkit-flex:1;-ms-flex:1;flex:1;height:72px;line-height:72px;-webkit-text-decoration:none;text-decoration:none;text-align:start;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.css-gls9j .anticon{color:#999;font-size:12px;-webkit-transition:all 0.3s;transition:all 0.3s;}.css-gls9j .chinese{-webkit-margin-start:4px;margin-inline-start:4px;}.css-gls9j .footer-nav-icon-after{display:none;}.css-gls9j .footer-nav-icon-before{position:relative;line-height:0;vertical-align:middle;-webkit-transition:inset-inline-end 0.3s;transition:inset-inline-end 0.3s;-webkit-margin-end:1em;margin-inline-end:1em;inset-inline-end:0;}.css-gls9j:hover .footer-nav-icon-before{inset-inline-end:0.2em;}</style><style data-emotion="css v9zvbc">.css-v9zvbc{background:#f0f3fa;color:rgba(0, 0, 0, 0.65);box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);}.css-v9zvbc *{box-sizing:border-box;}.css-v9zvbc h2,.css-v9zvbc a{color:rgba(0, 0, 0, 0.88);}.css-v9zvbc .rc-footer-column{margin-bottom:0px;}.css-v9zvbc .rc-footer-column:last-child{margin-bottom:0px;}.css-v9zvbc .rc-footer-item-icon{top:-1.5px;}.css-v9zvbc .rc-footer-container{max-width:1208px;margin-inline:auto;padding-inline:48px;}.css-v9zvbc .rc-footer-bottom{box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);}.css-v9zvbc .rc-footer-bottom .rc-footer-bottom-container{font-size:14px;}</style></head>
|
|
<body>
|
|
<noscript><b>Enable JavaScript to run this app.</b></noscript><div id="root"><!--$?--><template id="B:0"></template><div></div><!--/$--></div><script>window.__UMI_LOADER_DATA__ = {}</script>
|
|
<script src="/umi.61c7c9c4.js" crossorigin="anonymous"></script>
|
|
|
|
</body></html><div hidden id="S:0"><!--$?--><template id="B:1"></template><div></div><!--/$--></div><script>function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("B:0","S:0")</script><div hidden id="S:1"><div class="css-17ju5m3 ant-app"><!--$?--><template id="B:2"></template><div></div><!--/$--><div class="ant-float-btn-group css-17ju5m3 ant-float-btn-group-circle"><button class="css-17ju5m3 ant-float-btn ant-float-btn-default ant-float-btn-circle" type="button"><span class="ant-badge css-17ju5m3"><div class="ant-float-btn-body"><div class="ant-float-btn-content"><div class="ant-float-btn-icon"><span role="img" class="anticon"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><g fill-rule="evenodd"><g fill-rule="nonzero"><path d="M7.02 3.635l12.518 12.518a1.863 1.863 0 010 2.635l-1.317 1.318a1.863 1.863 0 01-2.635 0L3.068 7.588A2.795 2.795 0 117.02 3.635zm2.09 14.428a.932.932 0 110 1.864.932.932 0 010-1.864zm-.043-9.747L7.75 9.635l9.154 9.153 1.318-1.317-9.154-9.155zM3.52 12.473c.514 0 .931.417.931.931v.932h.932a.932.932 0 110 1.864h-.932v.931a.932.932 0 01-1.863 0l-.001-.931h-.93a.932.932 0 010-1.864h.93v-.932c0-.514.418-.931.933-.931zm15.374-3.727a1.398 1.398 0 110 2.795 1.398 1.398 0 010-2.795zM4.385 4.953a.932.932 0 000 1.317l2.046 2.047L7.75 7 5.703 4.953a.932.932 0 00-1.318 0zM14.701.36a.932.932 0 01.931.932v.931h.932a.932.932 0 010 1.864h-.933l.001.932a.932.932 0 11-1.863 0l-.001-.932h-.93a.932.932 0 110-1.864h.93v-.931a.932.932 0 01.933-.932z"></path></g></g></svg></span></div></div></div></span></button></div></div></div><script>$RC("B:1","S:1")</script><div hidden id="S:2"><header class="clearfix css-1m6c83y"><div class="ant-row css-17ju5m3" style="flex-flow:nowrap;height:64px"><div class="ant-col ant-col-xs-24 ant-col-sm-24 ant-col-md-6 ant-col-lg-6 ant-col-xl-5 ant-col-xxl-4 css-17ju5m3"><h1><a class="css-10if06k" href="/index-cn"><img src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" alt="logo"/><span class="css-zsb1p1">Ant Design</span></a></h1></div><div class="ant-col css-xbxnqh ant-col-xs-0 ant-col-sm-0 ant-col-md-18 ant-col-lg-18 ant-col-xl-19 ant-col-xxl-20 css-17ju5m3"><div class="nav-search-wrapper"><div class="dumi-default-search-bar"><svg viewBox="64 64 896 896" class="dumi-default-search-bar-svg"><path d="M909.6 854.5 649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg><input class="dumi-default-search-bar-input" placeholder="输入关键字搜索..."/><span class="dumi-default-search-shortcut">⌘<!-- --> K</span></div></div><ul class="ant-menu ant-menu-root ant-menu-horizontal ant-menu-light css-1n8kzv5 css-17ju5m3" style="border-right:0" dir="ltr" role="menu" tabindex="0" data-menu-list="true"><li class="ant-menu-item ant-menu-item-only-child" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/spec/introduce-cn">设计</a></span></li><li class="ant-menu-item ant-menu-item-selected ant-menu-item-only-child" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/introduce-cn">研发</a></span></li><li class="ant-menu-item ant-menu-item-only-child" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/components/overview-cn/">组件</a></span></li><li class="ant-menu-item ant-menu-item-only-child" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/blog/suspense-cn">博客</a></span></li><li class="ant-menu-item ant-menu-item-only-child" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/resources-cn">资源</a></span></li></ul><div style="display:none" aria-hidden="true"></div><div class="ant-select ant-select-sm version css-17ju5m3 ant-select-single ant-select-show-arrow"><div class="ant-select-selector"><span class="ant-select-selection-search"><input type="search" autoComplete="off" class="ant-select-selection-search-input" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-owns="undefined_list" aria-autocomplete="list" aria-controls="undefined_list" aria-activedescendant="undefined_list_0" readonly="" unselectable="on" style="opacity:0" value=""/></span><span class="ant-select-selection-item" title="5.7.1">5.7.1</span></div><span class="ant-select-arrow" style="user-select:none;-webkit-user-select:none" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span></div><button type="button" class="ant-btn css-17ju5m3 ant-btn-default ant-btn-sm ant-dropdown-trigger">更多<span role="img" aria-label="down" class="anticon anticon-down css-f8juvi"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></button><button class="css-14dvgsk"><div class="btn-inner"><div class="css-l1r9gy"><span class="css-1tyqv1q">中</span><span class="css-16okui4">En</span></div></div></button><button class="css-14dvgsk"><div class="btn-inner"><span role="img" direction="ltr" class="anticon css-1cjitc6"><svg width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""><svg viewBox="0 0 1024 1024" fill="currentColor"><path d="M448 64l512 0 0 128-128 0 0 768-128 0 0-768-128 0 0 768-128 0 0-448c-123.712 0-224-100.288-224-224s100.288-224 224-224zM64 448l256 224-256 224z"></path></svg></svg></span></div></button><a href="https://github.com/ant-design/ant-design" target="_blank" rel="noreferrer"><button class="css-14dvgsk"><div class="btn-inner"><span role="img" aria-label="github" class="anticon anticon-github"><svg viewBox="64 64 896 896" focusable="false" data-icon="github" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"></path></svg></span></div></button></a></div></div></header><main class="css-pmt1eg"><div class="ant-col css-14h0zo3 ant-col-xs-24 ant-col-sm-24 ant-col-md-6 ant-col-lg-6 ant-col-xl-5 ant-col-xxl-4 css-17ju5m3"><section class="main-menu-inner"><ul class="ant-menu ant-menu-root ant-menu-inline ant-menu-light css-1x4s3ls css-zfrcbl" dir="ltr" role="menu" tabindex="0" data-menu-list="true"><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/introduce-cn">Ant Design of React</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/getting-started-cn">快速上手</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/use-with-umi-cn">在 Umi 中使用</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/use-with-create-react-app-cn">在 create-react-app 中使用</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/use-with-next-cn">在 Next.js 中使用</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/use-with-vite-cn">在 Vite 中使用</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/compatible-style-cn">样式兼容</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/customize-theme-cn">定制主题</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/use-custom-date-library-cn">使用自定义日期库</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/migration-v5-cn">从 v4 到 v5</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/recommendation-cn">社区精选组件</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/migrate-less-variables-cn">Less 变量迁移 Design Token</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/i18n-cn">国际化</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/faq-cn">FAQ</a></span></li><li class="ant-menu-item ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/docs/react/contributing-cn">贡献指南</a></span></li><li class="ant-menu-item ant-menu-item-selected ant-menu-item-only-child" style="padding-left:30px" role="menuitem" tabindex="-1"><span class="ant-menu-title-content"><a href="/changelog-cn">更新日志</a></span></li></ul><div style="display:none" aria-hidden="true"></div></section></div><div class="ant-col ant-col-xs-24 ant-col-sm-24 ant-col-md-18 ant-col-lg-18 ant-col-xl-19 ant-col-xxl-20 css-17ju5m3"><div><div class=""><section class="css-3m1f9t"><div class="css-17ju5m3 ant-anchor-wrapper css-1mtserg" style="max-height:100vh"><div class="ant-anchor"><span class="ant-anchor-ink"></span><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#571" title="5.7.1">5.7.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#570" title="5.7.0">5.7.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#564" title="5.6.4">5.6.4</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#563" title="5.6.3">5.6.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#562" title="5.6.2">5.6.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#561" title="5.6.1">5.6.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#560" title="5.6.0">5.6.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#552" title="5.5.2">5.5.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#551" title="5.5.1">5.5.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#550" title="5.5.0">5.5.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#547" title="5.4.7">5.4.7</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#546" title="5.4.6">5.4.6</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#545" title="5.4.5">5.4.5</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#544" title="5.4.4">5.4.4</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#543" title="5.4.3">5.4.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#542" title="5.4.2">5.4.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#541" title="5.4.1">5.4.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#540" title="5.4.0">5.4.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#533" title="5.3.3">5.3.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#532" title="5.3.2">5.3.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#531" title="5.3.1">5.3.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#530" title="5.3.0">5.3.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#523" title="5.2.3">5.2.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#522" title="5.2.2">5.2.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#521" title="5.2.1">5.2.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#520" title="5.2.0">5.2.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#517" title="5.1.7">5.1.7</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#516" title="5.1.6">5.1.6</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#515" title="5.1.5">5.1.5</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#514" title="5.1.4">5.1.4</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#513" title="5.1.3">5.1.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#512" title="5.1.2">5.1.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#511" title="5.1.1">5.1.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#510" title="5.1.0">5.1.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#507" title="5.0.7">5.0.7</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#506" title="5.0.6">5.0.6</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#505" title="5.0.5">5.0.5</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#504" title="5.0.4">5.0.4</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#503" title="5.0.3">5.0.3</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#502" title="5.0.2">5.0.2</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#501" title="5.0.1">5.0.1</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#500" title="5.0.0">5.0.0</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#4x" title="4.x">4.x</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#3x" title="3.x">3.x</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#2x" title="2.x">2.x</a></div><div class="ant-anchor-link"><a class="ant-anchor-link-title" href="#1114" title="1.11.4">1.11.4</a></div></div></div></section></div></div><article class=" css-324864"><h1 class="ant-typography css-17ju5m3" style="font-size:30px">更新日志<a href="https://github.com/ant-design/ant-design/edit/master/CHANGELOG.zh-CN.md" target="_blank" rel="noopener noreferrer" class="css-le7aoc"><span role="img" aria-label="edit" class="anticon anticon-edit"><svg viewBox="64 64 896 896" focusable="false" data-icon="edit" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"></path></svg></span></a></h1><!--$?--><template id="B:3"></template><div></div><!--/$--><div class="css-uqqeki" style="display:flex;list-style:none;margin:0;padding:0"><div class="ant-skeleton ant-skeleton-element ant-skeleton-active css-17ju5m3"><span class="ant-skeleton-avatar ant-skeleton-avatar-sm ant-skeleton-avatar-circle" style="margin-left:0"></span></div><div class="ant-skeleton ant-skeleton-element ant-skeleton-active css-17ju5m3"><span class="ant-skeleton-avatar ant-skeleton-avatar-sm ant-skeleton-avatar-circle" style="margin-left:-8px"></span></div><div class="ant-skeleton ant-skeleton-element ant-skeleton-active css-17ju5m3"><span class="ant-skeleton-avatar ant-skeleton-avatar-sm ant-skeleton-avatar-circle" style="margin-left:-8px"></span></div></div></article><section class="css-1d0sb0m"><a href="/docs/react/contributing-cn" class="css-gls9j"><span role="img" aria-label="left" class="anticon anticon-left footer-nav-icon-before"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span>贡献指南<span role="img" aria-label="right" class="anticon anticon-right footer-nav-icon-after"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></a></section><footer class="rc-footer css-v9zvbc rc-footer-dark"><section class="rc-footer-container"><section class="rc-footer-columns"><div class="rc-footer-column"><h2>相关资源</h2><div class="rc-footer-item"><a href="https://charts.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Charts</a></div><div class="rc-footer-item"><a href="https://pro.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Pro</a></div><div class="rc-footer-item"><a href="https://procomponents.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Pro Components</a></div><div class="rc-footer-item"><a href="https://mobile.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Mobile</a></div><div class="rc-footer-item"><a href="https://mini.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Mini</a></div><div class="rc-footer-item"><a href="https://landing.ant.design" target="_blank" rel="noopener noreferrer">Ant Design Landing</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">首页模板集</span></div><div class="rc-footer-item"><a href="https://scaffold.ant.design" target="_blank" rel="noopener noreferrer">Scaffolds</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">脚手架市场</span></div><div class="rc-footer-item"><a href="https://umijs.org" target="_blank" rel="noopener noreferrer">Umi</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">React 应用开发框架</span></div><div class="rc-footer-item"><a href="https://d.umijs.org" target="_blank" rel="noopener noreferrer">dumi</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">组件/文档研发工具</span></div><div class="rc-footer-item"><a href="https://qiankun.umijs.org" target="_blank" rel="noopener noreferrer">qiankun</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">微前端框架</span></div><div class="rc-footer-item"><a href="https://github.com/alibaba/hooks" target="_blank" rel="noopener noreferrer">ahooks</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">React Hooks 库</span></div><div class="rc-footer-item"><a href="https://motion.ant.design" target="_blank" rel="noopener noreferrer">Ant Motion</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">设计动效</span></div><div class="rc-footer-item"><a href="https://ant-design.antgroup.com">国内镜像站点 🇨🇳</a></div></div><div class="rc-footer-column"><h2>社区</h2><div class="rc-footer-item"><a href="https://github.com/websemantics/awesome-ant-design" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="ant-design" class="anticon anticon-ant-design"><svg viewBox="64 64 896 896" focusable="false" data-icon="ant-design" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z"></path></svg></span></span>Awesome Ant Design</a></div><div class="rc-footer-item"><a href="http://medium.com/ant-design/" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="medium" class="anticon anticon-medium"><svg viewBox="64 64 896 896" focusable="false" data-icon="medium" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z"></path></svg></span></span>Medium</a></div><div class="rc-footer-item"><a href="http://twitter.com/antdesignui" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="twitter" style="color:#1DA1F2" class="anticon anticon-twitter"><svg viewBox="64 64 896 896" focusable="false" data-icon="twitter" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"></path></svg></span></span>Twitter</a></div><div class="rc-footer-item"><a href="https://yuque.com/ant-design/ant-design" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg" alt="yuque"/></span>Ant Design 语雀专栏</a></div><div class="rc-footer-item"><a href="https://www.zhihu.com/column/c_1564262000561106944" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="zhihu" style="color:#056de8" class="anticon anticon-zhihu"><svg viewBox="64 64 896 896" focusable="false" data-icon="zhihu" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"></path></svg></span></span>Ant Design 知乎专栏</a></div><div class="rc-footer-item"><a href="https://www.zhihu.com/column/c_1543658574504751104" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="zhihu" style="color:#056de8" class="anticon anticon-zhihu"><svg viewBox="64 64 896 896" focusable="false" data-icon="zhihu" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"></path></svg></span></span>体验科技专栏</a></div><div class="rc-footer-item"><a href="https://seeconf.antfin.com/" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png" alt="seeconf"/></span>SEE Conf</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">蚂蚁体验科技大会</span></div><div class="rc-footer-item"><a href="/docs/resources-cn#加入我们"><span class="rc-footer-item-icon"><span role="img" aria-label="usergroup-add" class="anticon anticon-usergroup-add"><svg viewBox="64 64 896 896" focusable="false" data-icon="usergroup-add" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"></path></svg></span></span>加入我们</a></div></div><div class="rc-footer-column"><h2>帮助</h2><div class="rc-footer-item"><a href="https://github.com/ant-design/ant-design" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="github" class="anticon anticon-github"><svg viewBox="64 64 896 896" focusable="false" data-icon="github" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"></path></svg></span></span>GitHub</a></div><div class="rc-footer-item"><a href="/changelog-cn"><span class="rc-footer-item-icon"><span role="img" aria-label="history" class="anticon anticon-history"><svg viewBox="64 64 896 896" focusable="false" data-icon="history" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"></path></svg></span></span>更新日志</a></div><div class="rc-footer-item"><a href="/docs/react/faq-cn"><span class="rc-footer-item-icon"><span role="img" aria-label="question-circle" class="anticon anticon-question-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="question-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"></path></svg></span></span>常见问题</a></div><div class="rc-footer-item"><a href="https://new-issue.ant.design/" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="bug" class="anticon anticon-bug"><svg viewBox="64 64 896 896" focusable="false" data-icon="bug" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"></path><path d="M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"></path></svg></span></span>报告 Bug</a></div><div class="rc-footer-item"><a href="https://github.com/ant-design/ant-design/issues" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="issues-close" class="anticon anticon-issues-close"><svg viewBox="64 64 896 896" focusable="false" data-icon="issues-close" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z"></path></svg></span></span>议题</a></div><div class="rc-footer-item"><a href="https://github.com/ant-design/ant-design/discussions" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="message" class="anticon anticon-message"><svg viewBox="64 64 896 896" focusable="false" data-icon="message" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"></path></svg></span></span>讨论区</a></div><div class="rc-footer-item"><a href="http://stackoverflow.com/questions/tagged/antd" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="question-circle" class="anticon anticon-question-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="question-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"></path></svg></span></span>StackOverflow</a></div><div class="rc-footer-item"><a href="https://segmentfault.com/t/antd" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><span role="img" aria-label="question-circle" class="anticon anticon-question-circle"><svg viewBox="64 64 896 896" focusable="false" data-icon="question-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"></path></svg></span></span>SegmentFault</a></div></div><div class="rc-footer-column"><h2><span class="rc-footer-column-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="Ant XTech"/></span>更多产品</h2><div class="rc-footer-item"><a href="https://yuque.com" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg" alt="yuque"/></span>语雀</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">构建你的数字花园</span></div><div class="rc-footer-item"><a href="https://antv.vision" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/antfincdn/nc7Fc0XBg5/8a6844f5-a6ed-4630-9177-4fa5d0b7dd47.png" alt="AntV"/></span>AntV</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">数据可视化解决方案</span></div><div class="rc-footer-item"><a href="https://eggjs.org" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://www.eggjs.org/logo.svg" alt="Egg"/></span>Egg</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">企业级 Node.js 框架</span></div><div class="rc-footer-item"><a href="https://kitchen.alipay.com" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/DMDOlAUhmktLyEODCMBR.ico" alt="kitchen"/></span>Kitchen</a><span class="rc-footer-item-separator">-</span><span class="rc-footer-item-description">Sketch 工具集</span></div><div class="rc-footer-item"><a href="https://xtech.antfin.com/" target="_blank" rel="noopener noreferrer"><span class="rc-footer-item-icon"><img src="https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg" alt="xtech"/></span>蚂蚁体验科技</a></div><div class="rc-footer-item"><a href="/theme-editor-cn"><span class="rc-footer-item-icon"><span role="img" aria-label="bg-colors" class="anticon anticon-bg-colors"><svg viewBox="64 64 896 896" focusable="false" data-icon="bg-colors" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z"></path></svg></span></span>主题编辑器</a></div></div></section></section><section class="rc-footer-bottom"><div class="rc-footer-bottom-container"><div style="opacity:0.4">Made with <span style="color:#fff">❤</span> by</div><div>蚂蚁集团和 Ant Design 开源社区</div></div></section></footer></div></main></div><script>$RC("B:2","S:2")</script><div hidden id="S:3"><div class="markdown"><p><code>antd</code> 遵循 <a href="http://semver.org/lang/zh-CN/">Semantic Versioning 2.0.0</a> 语义化版本规范。</p><h4 id="发布周期"><a aria-hidden="true" tabindex="-1" href="#发布周期"><span class="icon icon-link"></span></a>发布周期</h4><ul><li>修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)</li><li>次版本号:每月发布一个带有新特性的向下兼容的版本。</li><li>主版本号:含有破坏性更新和新特性,不在发布周期内。</li></ul><hr/><h2 id="571"><a aria-hidden="true" tabindex="-1" href="#571"><span class="icon icon-link"></span></a>5.7.1</h2><p><code>2023-07-19</code></p><ul><li>💄 补全 Menu 主题定制 token。<a href="https://github.com/ant-design/ant-design/pull/43576">#43576</a></li><li>🐞 修复 QRCode 在 Next.js 13 中报错 <code>Can't resolve 'antd/lib/qr-code'</code> 的问题。<a href="https://github.com/ant-design/ant-design/issues/43572">#43572</a></li><li>🐞 修复 antd 不支持在 Next.js App Router 中使用的问题,查看<a href="/docs/react/use-with-next-cn#%E4%BD%BF%E7%94%A8-nextjs-%E7%9A%84-app-router">使用文档</a>。<a href="https://github.com/ant-design/ant-design/pull/43573">#43573</a></li><li>🐞 修复 InputNumber 幽灵依赖报错 <code>Cannot find module 'rc-component/mini-decimal'</code>。<a href="https://github.com/ant-design/ant-design/pull/43635">#43635</a></li><li>🐞 修复 App.useApp 方式调用 notification 组件时 <code>placement</code> 属性不生效的问题。<a href="https://github.com/ant-design/ant-design/pull/43522">#43522</a> <a href="https://github.com/Rajil1213">@Rajil1213</a></li><li>🐞 修复 Checkbox 同时配置 <code>checked</code> 和 <code>indeterminate</code> 时没有展示为 <code>indeterminate</code> 样式的问题。<a href="https://github.com/ant-design/ant-design/pull/43626">#43626</a></li><li>🐞 修复 Form.Item 设置 <code>label=""</code> 时垂直方向对齐偏移的问题。<a href="https://github.com/ant-design/ant-design/pull/43614">#43614</a></li><li>🐞 修复 Pagination 分页选择器弹层抖动的问题。<a href="https://github.com/ant-design/ant-design/pull/43556">#43556</a></li><li>🐞 修复 Button 幽灵按钮禁用状态丢失的问题。<a href="https://github.com/ant-design/ant-design/pull/43558">#43558</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 Tag 仅传入 <code>icon</code> 时渲染多余间距的问题。<a href="https://github.com/ant-design/ant-design/pull/43518">#43518</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>🐞 修复 ColorPicker 不跟随表单校验状态改变 UI 的问题。<a href="https://github.com/ant-design/ant-design/pull/42880">#42880</a> <a href="https://github.com/RedJue">@RedJue</a></li><li>TypeScript
|
|
<ul><li>🤖 修复 <code>SpaceContext</code> 没有正确导出的问题。<a href="https://github.com/ant-design/ant-design/pull/43501">#43501</a> <a href="https://github.com/VovkaGoodwin">@VovkaGoodwin</a></li><li>🤖 优化部分组件 TS 定义实现。<a href="https://github.com/ant-design/ant-design/pull/43581">#43581</a> <a href="https://github.com/ant-design/ant-design/pull/43545">#43545</a> <a href="https://github.com/ant-design/ant-design/pull/43588">#43588</a> <a href="https://github.com/ant-design/ant-design/pull/43610">#43610</a> <a href="https://github.com/ant-design/ant-design/pull/43629">#43629</a>,感谢 <a href="https://github.com/thinkasany">@thinkasany</a>、<a href="https://github.com/li-jia-nan">@li-jia-nan</a> 的贡献。</li></ul></li></ul><h2 id="570"><a aria-hidden="true" tabindex="-1" href="#570"><span class="icon icon-link"></span></a>5.7.0</h2><p><code>2023-07-11</code></p><ul><li>🆕 ConfigProvider 支持所有组件的 <code>className</code> 和 <code>style</code> 属性控制。感谢 <a href="https://github.com/Yuiai01">@Yuiai01</a>、<a href="https://github.com/li-jia-nan">@li-jia-nan</a> 和 <a href="https://github.com/MuxinFeng">@MuxinFeng</a> 的贡献。</li><li>🆕 Badge 支持 <code>classNames</code> 属性和 <code>styles</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/43245">#43245</a> <a href="https://github.com/li-jia-nan">@li-jia-nan</a></li><li>🆕 ColorPicker 支持 <code>showText</code>、<code>destroyTooltipOnHide</code>、<code>onChangeComplete</code>、<code>panelRender</code>、<code>size</code> 等新特性。
|
|
<ul><li><a href="https://github.com/ant-design/ant-design/pull/42865">#42865</a> <a href="https://github.com/RedJue">@RedJue</a></li><li><a href="https://github.com/ant-design/ant-design/pull/42645">#42645</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li><a href="https://github.com/ant-design/ant-design/pull/43370">#43370</a> <a href="https://github.com/RedJue">@RedJue</a></li><li><a href="https://github.com/ant-design/ant-design/pull/43134">#43134</a> <a href="https://github.com/RedJue">@RedJue</a></li><li><a href="https://github.com/ant-design/ant-design/pull/43116">#43116</a> <a href="https://github.com/RedJue">@RedJue</a></li></ul></li><li>🆕 Alert、Drawer、Modal、Notifaction、Tag、Tabs 均已支持通过设置 <code>closeIcon</code> 为 null 或 false 隐藏关闭按钮。 <a href="https://github.com/ant-design/ant-design/discussions/42828">#42828</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🆕 Anchor 添加 <code>replace</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/43006">#43006</a> <a href="https://github.com/ds1371dani">@ds1371dani</a></li><li>🆕 Image 支持 <code>imageRender</code>、<code>toolbarRender</code> 属性以支持预览图和工具栏的自定义渲染,还支持了 <code>onTransform</code>、<code>minScale</code>、<code>maxScale</code> 等新属性,Image.PreviewGroup 支持 <code>items</code> 属性传入列表数据,并修复了 img 标签的原生属性没有传递给预览图的问题。<a href="https://github.com/ant-design/ant-design/pull/43075">#43075</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🆕 修改 Image 预览图的布局风格,<code>preview</code> 属性支持 <code>closeIcon</code>,Image.PreviewGroup 支持 <code>fallback</code> 属性,修复加载预览资源提前加载的问题。<a href="https://github.com/ant-design/ant-design/pull/43167">#43167</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🛠 InputNumber 使用 rc-input 进行重构。<a href="https://github.com/ant-design/ant-design/pull/43000">#43000</a> <a href="https://github.com/MuxinFeng">@MuxinFeng</a></li><li>🛠 解决 vite、rollup、meteor、microbundle 等构建工具中遇到的循环依赖问题,并增加相关的检测。<a href="https://github.com/ant-design/ant-design/pull/42750">#42750</a>,感谢 <a href="https://github.com/jrr997">@jrr997</a>、<a href="https://github.com/kiner-tang">@kiner-tang</a> 和 <a href="https://github.com/MuxinFeng">@MuxinFeng</a> 的贡献。</li><li>🐞 移除 Anchor/CollapsePanel/Input.Group 组件中 <code>className</code> 属性的默认值(空字符串)。 <a href="https://github.com/ant-design/ant-design/pull/43481">#43481</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🐞 修复 Upload 上传进度条延迟消失且丢失动画效果的问题。<a href="https://github.com/ant-design/ant-design/pull/43471">#43471</a></li><li>🐞 为 Menu 中组件 Token <code>colorItemBgSelected</code> 添加废弃警告。<a href="https://github.com/ant-design/ant-design/pull/43461">#43461</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🐞 修复样式特性支持检测时部分浏览器因为未重绘导致出现滚动条的问题。<a href="https://github.com/ant-design/ant-design/pull/43358">#43358</a> <a href="https://github.com/LeeeeeeM">@LeeeeeeM</a></li><li>🐞 修复 Card <code>tabList</code> 为空时 Tab 完全不展示的问题。<a href="https://github.com/ant-design/ant-design/pull/43416">#43416</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🐞 修复 ConfigProvider 嵌套使用时,<code>form.validateMessages</code> 配置会丢失的问题。<a href="https://github.com/ant-design/ant-design/pull/43239">#43239</a> <a href="https://github.com/Wxh16144">@Wxh16144</a></li><li>🐞 修复 Tag 点击的水波纹效果有时候会和 Tag 元素产生偏移的问题。<a href="https://github.com/ant-design/ant-design/pull/43402">#43402</a></li><li>🐞 修复 DatePicker 切换到年月面板时,<code>此刻</code> 点击无效的问题。<a href="https://github.com/ant-design/ant-design/pull/43367">#43367</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>🐞 修复 TextArea 组件在屏幕大小变化时设置的高度失效的问题。<a href="https://github.com/ant-design/ant-design/pull/43169">#43169</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>💄 Slider 中 <code>tooltip</code> 在内容很少时应该居中。<a href="https://github.com/ant-design/ant-design/pull/43430">#43430</a> <a href="https://github.com/Jomorx">@Jomorx</a></li><li>💄 将 <code>colorLink</code> 添加至 seed token 中, <code>colorLinkHover</code> 和 <code>colorLinkActive</code> 将会由 <code>colorLink</code> 计算得出。<a href="https://github.com/ant-design/ant-design/pull/43183">#43183</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>💄 调整 Slider 中部分 token 为 component token。<a href="https://github.com/ant-design/ant-design/pull/42428">#42428</a> <a href="https://github.com/heiyu4585">@heiyu4585</a></li><li>RTL
|
|
<ul><li>🤖 Progress 支持 rtl 方向的动画。<a href="https://github.com/ant-design/ant-design/pull/43316">#43316</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li></ul></li><li>TypeScript
|
|
<ul><li>🤖 Popover 增加 <code>RawPurePanelProps</code> 接口描述。<a href="https://github.com/ant-design/ant-design/pull/43453">#43453</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 Popconfirm 替换 <code>ref</code> 类型 <code>unknown</code> 为 <code>TooltipRef</code>。<a href="https://github.com/ant-design/ant-design/pull/43452">#43452</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 Popover 替换 <code>ref</code> 类型 <code>unknown</code> 为 <code>TooltipRef</code>。<a href="https://github.com/ant-design/ant-design/pull/43450">#43450</a> <a href="https://github.com/Negentropy247">@Negentropy247</a></li><li>🤖 改进 ButtonGroup 中 <code>GroupSizeContext</code> 的类型声明。<a href="https://github.com/ant-design/ant-design/pull/43439">#43439</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 改进 Select 的 <code>mode</code> 属性的类型声明。<a href="https://github.com/ant-design/ant-design/pull/43413">#43413</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 Checkbox 替换 <code>ref</code> 类型 <code>unknown</code> 为 <code>CheckboxRef</code>。<a href="https://github.com/ant-design/ant-design/pull/43424">#43424</a> <a href="https://github.com/li-jia-nan">@li-jia-nan</a></li><li>🤖 改进 Table/Tag/Notification 内部类型实现。
|
|
<ul><li><a href="https://github.com/ant-design/ant-design/pull/43366">#43366</a> <a href="https://github.com/li-jia-nan">@li-jia-nan</a></li><li><a href="https://github.com/ant-design/ant-design/pull/43357">#43357</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li><a href="https://github.com/ant-design/ant-design/pull/43351">#43351</a> <a href="https://github.com/thinkasany">@thinkasany</a></li></ul></li></ul></li></ul><h2 id="564"><a aria-hidden="true" tabindex="-1" href="#564"><span class="icon icon-link"></span></a>5.6.4</h2><p><code>2023-07-03</code></p><ul><li>Form
|
|
<ul><li>🐞 修复 Form 在提交时,字段没有配置 <code>rules</code> 时仍会错误触发 <code>onFieldsChange</code> 事件的问题。<a href="https://github.com/ant-design/ant-design/pull/43290">#43290</a></li><li>🐞 修复 Form.List 的 <code>name</code> 为 0 时误报 <code>name</code> 为空的警告信息的问 题。<a href="https://github.com/ant-design/ant-design/pull/43199">#43199</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li></ul></li><li>🐞 修复 Badge <code>color</code> 属性不生效的问题。<a href="https://github.com/ant-design/ant-design/pull/43304">#43304</a></li><li>🐞 修复 Select 组件的消除图标在 FormItem 设置 <code>hasFeedback</code> 时的位置问题。<a href="https://github.com/ant-design/ant-design/pull/43302">#43302</a> <a href="https://github.com/tinyfind">@tinyfind</a></li><li>🐞 修复 Transfer 分页下拉按钮被隐藏以及 <code>showSizeChanger</code> 方法无效。<a href="https://github.com/ant-design/ant-design/pull/41906">#41906</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>🐞 修复 Popconfirm 组件 <code>colorText</code> 和 <code>fontSize</code> 修改无效的问题。<a href="https://github.com/ant-design/ant-design/pull/43212">#43212</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🐞 修复 Upload 配置 <code>maxCount</code> 后删除文件不会触发 <code>onChange</code> 的问题。<a href="https://github.com/ant-design/ant-design/pull/43193">#43193</a></li><li>💄 修复 Button 在有 <code>link</code> 或 <code>href</code> 属性时禁用样式错误。<a href="https://github.com/ant-design/ant-design/pull/43091">#43091</a> <a href="https://github.com/BoyYangzai">@BoyYangzai</a></li><li>TypeScript
|
|
<ul><li>🤖 优化 Breadcrumb <code>params</code> 类型,支持泛型。<a href="https://github.com/ant-design/ant-design/pull/43211">#43211</a></li><li>🤖 优化 Typography <code>copyIdRef</code> 类型。<a href="https://github.com/ant-design/ant-design/pull/43257">#43257</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 移除 Button <code>loading</code> 多余 number 类型。<a href="https://github.com/ant-design/ant-design/pull/43256">#43256</a> <a href="https://github.com/thinkasany">@thinkasany</a></li><li>🤖 透传 Cascader <code>optionType</code> 泛型。<a href="https://github.com/ant-design/ant-design/pull/43231">#43231</a> <a href="https://github.com/ZWkang">@ZWkang</a></li></ul></li></ul><h2 id="563"><a aria-hidden="true" tabindex="-1" href="#563"><span class="icon icon-link"></span></a>5.6.3</h2><p><code>2023-06-25</code></p><ul><li>BreadCrumb
|
|
<ul><li>🐞 修复 BreadCrumb 传递 <code>dropdownProps</code> 不生效的问题。<a href="https://github.com/ant-design/ant-design/pull/43151">#43151</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🛠 优化 BreadCrumb 处理 <code>title</code> 为 <code>null</code> 时的行为。<a href="https://github.com/ant-design/ant-design/pull/43099">#43099</a> <a href="https://github.com/Asanio06">@Asanio06</a></li></ul></li><li>🐞 修复 Slider 在 Form 内部时的禁用状态。<a href="https://github.com/ant-design/ant-design/pull/43142">#43142</a> <a href="https://github.com/Starpuccino">@Starpuccino</a></li><li>🐞 修复 Form 标签偏移值在垂直布局中不生效的问题。<a href="https://github.com/ant-design/ant-design/pull/43155">#43155</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 Table 打开筛选面板会报 <code>react ref</code> 错误警告信息。<a href="https://github.com/ant-design/ant-design/pull/43139">#43139</a></li><li>🐞 修复 Transfer 配置 <code>rowKey</code> 后无法选中的问题。<a href="https://github.com/ant-design/ant-design/pull/43115">#43115</a></li><li>🐞 修复 Space 与其他组件搭配使用时的 <code>size</code> 优先级<a href="https://github.com/ant-design/ant-design/pull/42752">#42752</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🐞 修复 QRCode 在暗黑模式下的颜色。<a href="https://github.com/ant-design/ant-design/pull/43162">#43162</a> <a href="https://github.com/ds1371dani">@ds1371dani</a></li><li>💄 修复 Select 选项使用 Badge 和 Tag 时底部存在意外边距的问题。<a href="https://github.com/ant-design/ant-design/pull/43097">#43097</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>TypeScript
|
|
<ul><li>🤖 优化 Button 的 <code>target</code> 属性类型定义。<a href="https://github.com/ant-design/ant-design/pull/43129">#43129</a> <a href="https://github.com/li-jia-nan">@li-jia-nan</a></li><li>🤖 优化 Progress 的 <code>size</code> 属性类型定义以支持百分比值。<a href="https://github.com/ant-design/ant-design/pull/43123">#43123</a> <a href="https://github.com/Ali-ovo">@Ali-ovo</a></li><li>🤖 优化 Slider tooltip 的类型定义。<a href="https://github.com/ant-design/ant-design/pull/43094">#43094</a> <a href="https://github.com/li-jia-nan">@li-jia-nan</a></li></ul></li></ul><h2 id="562"><a aria-hidden="true" tabindex="-1" href="#562"><span class="icon icon-link"></span></a>5.6.2</h2><p><code>2023-06-19</code></p><ul><li>🐞 修复 Dropdown 配置 <code>autoFocus</code> 无效的问题。<a href="https://github.com/ant-design/ant-design/pull/43002">#43002</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>🐞 修复 InputNumber 设置 <code>prefix</code> 在 Form.Item <code>hasFeedBack</code> 内高度异常的问题。<a href="https://github.com/ant-design/ant-design/pull/43049">#43049</a></li><li>💄 修复 Input 和 InputNumber 禁用状态样式。<a href="https://github.com/ant-design/ant-design/pull/42974">#42974</a> <a href="https://github.com/kampiu">@kampiu</a></li><li>🐞 修复 Upload 配置 <code>maxCount</code> 后,上传超出范围的文件仍然会触发 <code>onChange</code> 事件的问题。<a href="https://github.com/ant-design/ant-design/pull/43034">#43034</a></li><li>🐞 修复打包时即便没有使用 <code>rc-field-form</code> 包仍然会包含它的问题。<a href="https://github.com/ant-design/ant-design/pull/43023">#43023</a></li><li>🐞 修复 DatePicker 动态设置 <code>disabledTime</code> 时值不正确的问题。<a href="https://github.com/ant-design/ant-design/pull/42991">#42991</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>📖 补充 FloatButton 受控实例, 并添加对应的 warning 提示。<a href="https://github.com/ant-design/ant-design/pull/42835">#42835</a> <a href="https://github.com/poyiding">@poyiding</a></li><li>🐞 修复 Button 禁用时子节点仍然可以交互的问题。<a href="https://github.com/ant-design/ant-design/pull/42949">#42949</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 Drawer 添加最大宽度以防止在小屏幕下超出的问题。<a href="https://github.com/ant-design/ant-design/pull/42914">#42914</a> <a href="https://github.com/amir2mi">@amir2mi</a></li><li>🐞 修复 Table 设置 <code>checkStrictly</code> 时,<code>preserveSelectedRowKeys</code> 无效的问题。<a href="https://github.com/ant-design/ant-design/pull/42784">#42784</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🐞 修复 Transfer 在动态变更数据时,展示的选中数不同步的问题。<a href="https://github.com/ant-design/ant-design/pull/42785">#42785</a> <a href="https://github.com/BoyYangzai">@BoyYangzai</a></li><li>🐞 修复 Radio.Button <code>title</code> 属性不生效,并补齐对应定义。<a href="https://github.com/ant-design/ant-design/pull/43012">#43012</a> <a href="https://github.com/linxianxi">@linxianxi</a></li></ul><h2 id="561"><a aria-hidden="true" tabindex="-1" href="#561"><span class="icon icon-link"></span></a>5.6.1</h2><p><code>2023-06-07</code></p><ul><li>ColorPicker
|
|
<ul><li>🐞 修复 ColorPicker 预设颜色没法选中的问题。<a href="https://github.com/ant-design/ant-design/pull/42882">#42882</a> <a href="https://github.com/RedJue">@RedJue</a></li><li>🐞 修复 ColorPicker 组件清除后再点击清除仍然触发 <code>onChange</code> 的问题。<a href="https://github.com/ant-design/ant-design/pull/42643">#42643</a> <a href="https://github.com/linxianxi">@linxianxi</a></li></ul></li><li>🐞 修复 Collapse 组件废弃警告异常显示问题。<a href="https://github.com/ant-design/ant-design/pull/42876">#42876</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>TypeScript
|
|
<ul><li>🤖 修复 Collapse 组件 <code>items</code> 类型应该为可选。<a href="https://github.com/ant-design/ant-design/pull/42877">#42877</a> <a href="https://github.com/Dunqing">@Dunqing</a></li></ul></li></ul><h2 id="560"><a aria-hidden="true" tabindex="-1" href="#560"><span class="icon icon-link"></span></a>5.6.0</h2><p><code>2023-06-06</code></p><ul><li>🆕 ColorPicker 添加 <code>onClear</code> 属性,清除选中颜色时不自动关闭弹窗。<a href="https://github.com/ant-design/ant-design/pull/42634">#42634</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🆕 Collapse 支持通过 <code>items</code> 属性来配置面板内容。<a href="https://github.com/ant-design/ant-design/pull/42545">#42545</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🆕 新增静态方法 <code>getDesignToken</code> 用于获取完整的主题 token。<a href="https://github.com/ant-design/ant-design/pull/42723">#42723</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🆕 ConfigProvider 支持配置 Space 组件的 <code>classNames</code> 和 <code>styles</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/42748">#42748</a> <a href="https://github.com/RedJue">@RedJue</a></li><li>🆕 Space 组件支持 <code>classNames</code> 和 <code>styles</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/42743">#42743</a> <a href="https://github.com/RedJue">@RedJue</a></li><li>🆕 Drawer 抽屉面板支持事件监听,包裹元素支持传入 <code>data-*</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/42718">#42718</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🆕 ConfigProvider 支持自定义 Button 的 <code>style</code> / <code>className</code> / <code>styles</code> / <code>classNames</code>。<a href="https://github.com/ant-design/ant-design/pull/42623">#42623</a> <a href="https://github.com/LuZhenJie1999">@LuZhenJie1999</a></li><li>🆕 Pagination 的页码选择器可以进行搜索了。<a href="https://github.com/ant-design/ant-design/pull/42608">#42608</a></li><li>🆕 QRCode 支持渲染 svg。<a href="https://github.com/ant-design/ant-design/pull/42570">#42570</a> <a href="https://github.com/sy296565890">@sy296565890</a></li><li>🆕 Calendar 支持将 <code>panelMode</code> 作为选择源类型传递给内部选择触发器回调,以便在调用时使用正确的源类型。<a href="https://github.com/ant-design/ant-design/pull/42459">#42459</a> <a href="https://github.com/bombillazo">@bombillazo</a></li><li>🆕 Select <code>fieldNames</code> 新增 <code>groupLabel</code> 字段映射分组标题。<a href="https://github.com/ant-design/ant-design/pull/42492">#42492</a> <a href="https://github.com/BoyYangzai">@BoyYangzai</a></li><li>🆕 Table 添加对列自定义排序图标的支持。<a href="https://github.com/ant-design/ant-design/pull/42498">#42498</a> <a href="https://github.com/sawadyecma">@sawadyecma</a></li><li>🆕 DatePicker 支持 <code>kk:mm</code> 格式的 <code>format</code> 以支持显示 24:00。<a href="https://github.com/ant-design/ant-design/pull/42494">#42494</a> <a href="https://github.com/cooljser">@cooljser</a></li><li>🆕 ConfigProvider.config 新增 <code>theme</code> 支持配置静态方法主题。<a href="https://github.com/ant-design/ant-design/pull/42473">#42473</a></li><li>🆕 Calendar <code>onSelect</code> 支持 <code>info.source</code> 参数以获取选择来源。<a href="https://github.com/ant-design/ant-design/pull/42432">#42432</a></li><li>💄 优化 ColorPicker 组件在暗黑模式下的样式。<a href="https://github.com/ant-design/ant-design/pull/42827">#42827</a> <a href="https://github.com/RedJue">@RedJue</a></li><li>💄 修复 Popconfirm、Alert 和 Notification 组件 <code>colorTextHeading</code> 和 <code>colorText</code> 误用问题。<a href="https://github.com/ant-design/ant-design/pull/42839">#42839</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>💄 修复 Divider 组件的样式问题。<a href="https://github.com/ant-design/ant-design/pull/42797">#42797</a> <a href="https://github.com/kongmingLatern">@kongmingLatern</a></li><li>🐞 修复 Image.PreviewGroup 预览时图片切换后状态没有重置的问题。<a href="https://github.com/ant-design/ant-design/pull/42793">#42793</a> <a href="https://github.com/linxianxi">@linxianxi</a></li><li>🐞 统一使用 <code>rc-util/lib/pickAttrs</code> 以节省包体积。修复 Rate 组件在 StrictMode 下 <code>findDOMNode is deprecated</code> 警告信息。<a href="https://github.com/ant-design/ant-design/pull/42688">#42688</a></li><li>🐞 Rate 组件支持传入 <code>id</code> <code>data-*</code> <code>aria-*</code> <code>role</code> <code>onMouseEnter</code> <code>onMouseLeave</code> 等属性,修复不支持 Tooltip 包裹的问题。<a href="https://github.com/ant-design/ant-design/pull/42676">#42676</a></li><li>🐞 修复 Menu 组件横向模式下子菜单没有对齐的问题。<a href="https://github.com/ant-design/ant-design/pull/42648">#42648</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🐞 将 Card <code>tabList</code> 的 API 与 Tab <code>items</code> 对齐。<a href="https://github.com/ant-design/ant-design/pull/42413">#42413</a></li><li>🐞 修复循环依赖问题。
|
|
<ul><li>🐞 修复 Modal 组件循环依赖问题。<a href="https://github.com/ant-design/ant-design/pull/42841">#42841</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 Space 组件循环依赖问题。<a href="https://github.com/ant-design/ant-design/pull/42811">#42811</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 Statistic 组件循环依赖问题。<a href="https://github.com/ant-design/ant-design/pull/42814">#42814</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 List 组件循环依赖问题。<a href="https://github.com/ant-design/ant-design/pull/42806">#42806</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🐞 修复 Dropdown 组件循环依赖问题。<a href="https://github.com/ant-design/ant-design/pull/42764">#42764</a> <a href="https://github.com/Dunqing">@Dunqing</a></li></ul></li><li>⌨️ 增强 Progress 可访问性表现,添加 <code>aria</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/42704">#42704</a> <a href="https://github.com/MehmetYararVX">@MehmetYararVX</a></li><li>⌨️ Notification 添加 <code>role</code> 属性。<a href="https://github.com/ant-design/ant-design/pull/42484">#42484</a> <a href="https://github.com/guan404ming">@guan404ming</a></li><li>🛠 Collapse 使用 <code>onKeyDown</code> 替代 <code>onKeyPress</code> 来改变折叠面板的激活状态。<a href="https://github.com/ant-design/ant-design/pull/42592">#42592</a> <a href="https://github.com/kiner-tang">@kiner-tang</a></li><li>🛠 使用 <code>@rc-component/trigger</code> 重构 Menu 组件。移除 <code>rc-trigger</code> 依赖,缩小打包体积。<a href="https://github.com/ant-design/ant-design/pull/42554">#42554</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🛠 Table 组件将 <code>sorterOrder</code> 重命名为 <code>sortOrder</code> 用于 <code>sortIcon</code> 的参数。<a href="https://github.com/ant-design/ant-design/pull/42519">#42519</a> <a href="https://github.com/sawadyecma">@sawadyecma</a></li><li>组件 Token 迁移,更多详情请查看文档:<a href="/docs/react/migrate-less-variables-cn">迁移 less 变量</a><ul><li>🛠 使用新的命名标准重命名 Menu 组件 token。<a href="https://github.com/ant-design/ant-design/pull/42848">#42848</a> <a href="https://github.com/MadCcc">@MadCcc</a></li><li>🛠 迁移 Radio 组件 less 变量。<a href="https://github.com/ant-design/ant-design/pull/42050">#42050</a> <a href="https://github.com/Yuiai01">@Yuiai01</a></li><li>🛠 迁移 Image 组件 less 变量。<a href="https://github.com/ant-design/ant-design/pull/42048">#42048</a> <a href="https://github.com/guan404ming">@guan404ming</a></li><li> |