修改导航条高亮

This commit is contained in:
何童崇 2021-09-17 15:13:54 +08:00
parent b5e145b4b5
commit 6b8f1e3749
1 changed files with 3 additions and 1 deletions

View File

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