forked from Gitlink/forgeplus-react
输出导航栏成果库不标亮log
This commit is contained in:
parent
aed4df4479
commit
850d6187c1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue