forked from Gitlink/forgeplus-react
修改导航条高亮
This commit is contained in:
parent
b5e145b4b5
commit
6b8f1e3749
|
@ -580,7 +580,9 @@ class NewHeader extends Component {
|
|||
return true
|
||||
} else if (url.indexOf('projects') > -1 && match.path.indexOf('projects') > -1) {
|
||||
return true
|
||||
} else if (url.indexOf('notice') > -1 && match.path.indexOf('notice') > -1) {
|
||||
} else if (url.indexOf('.com/notice') > -1 && match.path.indexOf('/notice') > -1) {
|
||||
return true
|
||||
} else if (url.indexOf('/task') > -1 && match.path.indexOf('/task') > -1) {
|
||||
return true
|
||||
} else if (url.indexOf('users') > -1 && match.path.indexOf('users') > -1) {
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue