diff --git a/lib/default-theme/NavLink.vue b/lib/default-theme/NavLink.vue index 09d4dc85e0..01add321f5 100644 --- a/lib/default-theme/NavLink.vue +++ b/lib/default-theme/NavLink.vue @@ -3,7 +3,7 @@ class="nav-link" :to="link" v-if="!isExternal(link)" - :exact="link === '/'" + :exact="exact" >{{ item.text }} rootLink === this.link) + } + return this.link === '/' } }, methods: {