Commit b45c2d1e authored by chenqikuai's avatar chenqikuai

fix: 修复文本展示

parent 23192a1b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<p class=" text-2xl font-bold mb-5 ">{{ title }}</p> <p class=" text-2xl font-bold mb-5 ">{{ title }}</p>
<p class=" text-gray-400">发布时间:{{ time | format }} <span class=" ml-2">作者:{{ name }}</span></p> <p class=" text-gray-400">发布时间:{{ time | format }} <span class=" ml-2">作者:{{ name }}</span></p>
<div class="text-left p-5" v-html="content"></div> <div class="text-left p-5 el-tiptap-editor" v-html="content"></div>
<!-- <p class="text-left p-5">{{content}}</p> --> <!-- <p class="text-left p-5">{{content}}</p> -->
</div> </div>
</template> </template>
......
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