输出导航栏成果库不标亮log

This commit is contained in:
zhangxzz 2023-11-23 08:34:40 +08:00
parent aed4df4479
commit 850d6187c1
1 changed files with 2 additions and 1 deletions

View File

@ -594,6 +594,7 @@ class NewHeader extends Component {
} else {
str = match.path;
}
console.log(match.path)
// console.log(str, (url + "/"), url && str === url);
if (url && (str === url || str === (url + "/"))) {
@ -602,7 +603,7 @@ class NewHeader extends Component {
console.log('str:',str);
return true
} else {
console.log('@@@ matchpaths true');
console.log('@@@ matchpaths false');
console.log('url:',url);
console.log('str:',str);
return false