修复bug

This commit is contained in:
reco_luan 2019-05-08 23:19:36 +08:00
parent fbe93a3263
commit c331d3e256
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template>
<span v-if="$themeConfig.valineConfig.visitor !== false" :id="getIdVal(idVal)" class="leancloud-visitors" data-flag-title="Your Article Title">
<span v-if="$themeConfig.valineConfig && $themeConfig.valineConfig.visitor != false" :id="getIdVal(idVal)" class="leancloud-visitors" data-flag-title="Your Article Title">
<i class="iconfont reco-eye" style="margin-right: .5rem"></i>
<a class="leancloud-visitors-count" :style="numStyle"></a>
</span>

View File

@ -1,6 +1,6 @@
{
"name": "vuepress-theme-reco",
"version": "1.0.0-alpha.18",
"version": "1.0.0-alpha.19",
"description": "this is a vuepress theme",
"main": "index.js",
"scripts": {