mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix: 修复中文模式下,更新日志的 Head 中 Menu 显示 (#20853)
This commit is contained in:
parent
2dc7b3fc17
commit
f7ab4e50af
@ -149,7 +149,7 @@ class Header extends React.Component {
|
||||
.slice(0, -1)
|
||||
.join('/');
|
||||
let activeMenuItem = module || 'home';
|
||||
if (location.pathname === 'changelog') {
|
||||
if (location.pathname === 'changelog' || location.pathname === 'changelog-cn') {
|
||||
activeMenuItem = 'docs/react';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user