Closed jayxiaohe closed 1 year ago
按下方这样设置的。但所有文章下面都显示了评论
vssueConfig: { showComment: false, platform: 'github', owner: 'XX', repo: 'XX', clientId: 'XX', clientSecret: 'XX' },
找了下代码,theme/components/Page.vue 内 有这个一行: const { showComment } = instance.$themeConfig.valineConfig || { showComment: true } ,而我用的是vssueConfig。把这里改一下就好了。
theme/components/Page.vue
const { showComment } = instance.$themeConfig.valineConfig || { showComment: true }
vssueConfig
按下方这样设置的。但所有文章下面都显示了评论