mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: website Header SearchBar locale issue (#31134)
This commit is contained in:
parent
af94f3f537
commit
e4b3a7c0f6
@ -94,7 +94,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
|
||||
router.listen(this.handleHideMenu);
|
||||
|
||||
initDocSearch({
|
||||
isZhCN: intl.locale === 'zh',
|
||||
isZhCN: intl.locale === 'zh-CN',
|
||||
router,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user