Browse Source

修改文章编辑

aaa 3 years ago
parent
commit
1783474938
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/home/learn/page-learn-content.vue

+ 2 - 1
src/views/home/learn/page-learn-content.vue

@@ -12,7 +12,8 @@
       </div>
       <div class="learn-content-body-auther">编辑:{{ contentObj.userId }}</div>
       <div class="learn-content-body-description">
-        {{ contentObj.contents }}
+        <!-- {{ contentObj.contents }} -->
+        <p v-html="contentObj.contents">{{ contentObj.contents }}</p>
       </div>
       <div class="learn-content-body-time-row">
         <div class="learn-content-body-time">