We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7f612 commit 23c3786Copy full SHA for 23c3786
components/PageInfo.vue
@@ -49,14 +49,11 @@ export default {
49
}
50
51
},
52
-
53
- mounted () {
54
- console.log(1234, this.isHome)
55
- },
56
57
methods: {
58
goTags (tag) {
59
- window.location.href = `/tag/#?tag=${tag}`
+ const base = this.$site.base
+ window.location.href = `${base}tag/#?tag=${tag}`
60
61
62
layouts/Category.vue
@@ -9,10 +9,10 @@
9
:class="title.trim() == item.name ? 'active': ''"
10
v-for="(item, index) in this.$categories.list"
11
:key="index">
12
- <a :href="item.path">
+ <router-link :to="item.path">
13
<span class="category-name">{{ item.name }}</span>
14
<span class="post-num">{{ item.posts.length }}</span>
15
- </a>
+ </router-link>
16
</li>
17
</ul>
18
0 commit comments