diff --git a/components/Common.vue b/components/Common.vue index edf85e3..1782856 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -35,7 +35,9 @@
- +
+ +
@@ -67,9 +69,9 @@
- - - +
+ +
@@ -118,6 +120,11 @@ export default { // 是否显示评论 shouldShowComments () { const { isShowComments, home } = this.$frontmatter + console.log(this.isComment, isShowComments, home, !( + this.isComment == false || + isShowComments == false || + home == true + )) return !( this.isComment == false || isShowComments == false ||