修复 tags.vue name 错误提示

This commit is contained in:
reco_luan 2019-04-09 20:56:19 +08:00
parent c761e0079c
commit 44ecad7321
2 changed files with 13 additions and 11 deletions

View File

@ -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: {

View File

@ -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": {