Commit 6835c432 by caoyanzhi

update: 调整v-html

parent 1f993287
......@@ -49,9 +49,8 @@ import openDocRight from '@/components/open-doc-right.vue';
<div
v-if="formData.content"
class="article-contain">
<div
class="markdown-content"
v-html="formData.htmlContent" />
<!-- eslint-disable-next-line -->
<div class="markdown-content" v-html="formData.htmlContent" />
<markdown-content :markdown-data="formData" />
</div>
<!-- api -->
......
......@@ -13,9 +13,8 @@
<div class="notice-detail-body">
<h2>{{ noticeData.groupName }}{{ noticeData.title }}</h2>
<div class="notice-detail-content">
<div
class="markdown-content"
v-html="noticeData.htmlContent" />
<!-- eslint-disable-next-line -->
<div class="markdown-content" v-html="noticeData.htmlContent" />
</div>
<p class="notice-oprate font-14 color-0a1633">
{{ noticeData.operatorName }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment