fix: bugs

This commit is contained in:
qier222 2021-06-05 05:36:58 +08:00
parent 41ff8058b2
commit 226a2145c4
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
8 changed files with 172 additions and 163 deletions

View file

@ -31,17 +31,17 @@
/></button-icon>
</div>
<div class="navigation-links">
<router-link to="/" :class="{ active: this.$route.name === 'home' }">{{
<router-link to="/" :class="{ active: $route.name === 'home' }">{{
$t('nav.home')
}}</router-link>
<router-link
to="/explore"
:class="{ active: this.$route.name === 'explore' }"
:class="{ active: $route.name === 'explore' }"
>{{ $t('nav.explore') }}</router-link
>
<router-link
to="/library"
:class="{ active: this.$route.name === 'library' }"
:class="{ active: $route.name === 'library' }"
>{{ $t('nav.library') }}</router-link
>
</div>