修复 tags.vue name 错误提示
This commit is contained in:
parent
c761e0079c
commit
44ecad7321
@ -40,6 +40,7 @@ export default {
|
||||
},
|
||||
|
||||
created () {
|
||||
if (this.$tags) {
|
||||
const currentTag = this.$route.query.tag ? this.$route.query.tag : this.$tags.list[0].name
|
||||
let tags = this.$tags.list
|
||||
tags.map(item => {
|
||||
@ -50,6 +51,7 @@ export default {
|
||||
this.tags = tags
|
||||
|
||||
this.getPagesByTags(currentTag)
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress-theme-reco",
|
||||
"version": "1.0.0-alpha.6",
|
||||
"version": "1.0.0-alpha.7",
|
||||
"description": "this is a vuepress theme",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user