Skip to content

Commit

Permalink
fix highlight of problems&contests
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw630 authored and zema1 committed Dec 17, 2019
1 parent 868ce93 commit f353097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/oj/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<Icon type="home"></Icon>
{{$t('m.Home')}}
</Menu-item>
<Menu-item name="/problems">
<Menu-item name="/problem">
<Icon type="ios-keypad"></Icon>
{{$t('m.NavProblems')}}
</Menu-item>
<Menu-item name="/contests">
<Menu-item name="/contest">
<Icon type="trophy"></Icon>
{{$t('m.Contests')}}
</Menu-item>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/oj/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default [
},
{
name: 'problem-list',
path: '/problems',
path: '/problem',
meta: {title: 'Problem List'},
component: ProblemList
},
Expand All @@ -71,7 +71,7 @@ export default [
},
{
name: 'contest-list',
path: '/contests',
path: '/contest',
meta: {title: 'Contest List'},
component: Contest.ContestList
},
Expand Down

0 comments on commit f353097

Please sign in to comment.