Skip to content

Commit

Permalink
fix: home link '/' shouldn’t always stays active (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhpoon authored and yyx990803 committed Apr 15, 2018
1 parent f2a8229 commit 67c758e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/default-theme/NavLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<!-- user links -->
<router-link v-for="item in userLinks"
:to="item.link"
:key="item.link">
:key="item.link"
:exact="item.link === '/'">
{{ item.text }}
</router-link>
<!-- github link -->
Expand Down

0 comments on commit 67c758e

Please sign in to comment.