个人主页-头部

This commit is contained in:
caishi 2022-05-23 14:36:51 +08:00
parent 654e1af7eb
commit b1edabfa0f
1 changed files with 1 additions and 1 deletions

View File

@ -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