forked from Gitlink/forgeplus-react
个人主页-头部
This commit is contained in:
parent
654e1af7eb
commit
b1edabfa0f
|
@ -205,7 +205,7 @@ class NewHeader extends Component {
|
|||
str = match.path;
|
||||
}
|
||||
|
||||
if (url && str === url) {
|
||||
if (url && (str === url || (str === url+'/'))) {
|
||||
return true
|
||||
}else {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue