Browse Source

修改:修复文章详情页面不兼容其他pc端主题导致文章内容不显示的BUG

小莫唐尼 3 years ago
parent
commit
6ba87b1972
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesA/article-detail/article-detail.vue

+ 1 - 1
pagesA/article-detail/article-detail.vue

@@ -93,7 +93,7 @@
 					:selectable="true"
 					:tag-style="markdownConfig.tagStyle"
 					:container-style="markdownConfig.containStyle"
-					:content="result.content"
+					:content="result.content || result.formatContent"
 					:markdown="true"
 					:showLineNumber="true"
 					:showLanguageName="true"