个人主页-头部

This commit is contained in:
caishi 2022-05-23 14:36:51 +08:00
parent 554cec7e98
commit 753cefe8b2
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class NewHeader extends Component {
str = match.path;
}
if (url && str === url) {
if (url && (str === url || (str === url+'/'))) {
return true
}else {
return false