测试
This commit is contained in:
parent
44ecad7321
commit
cd2043f120
@ -41,7 +41,7 @@ export default {
|
|||||||
|
|
||||||
created () {
|
created () {
|
||||||
if (this.$tags) {
|
if (this.$tags) {
|
||||||
const currentTag = this.$route.query.tag ? this.$route.query.tag : this.$tags.list[0].name
|
const currentTag = this.$route.query.tag ? this.$route.query.tag : this.$tags.list.length > 0 ? this.$tags.list[0].name : ''
|
||||||
let tags = this.$tags.list
|
let tags = this.$tags.list
|
||||||
tags.map(item => {
|
tags.map(item => {
|
||||||
const color = this._tagColor()
|
const color = this._tagColor()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vuepress-theme-reco",
|
"name": "vuepress-theme-reco",
|
||||||
"version": "1.0.0-alpha.7",
|
"version": "1.0.0-alpha.8",
|
||||||
"description": "this is a vuepress theme",
|
"description": "this is a vuepress theme",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user