Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
open-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
API
open-platform
Commits
6835c432
Commit
6835c432
authored
Mar 19, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整v-html
parent
1f993287
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
open-doc-right.vue
src/components/open-doc-right.vue
+2
-3
noticeDetail.vue
src/views/index/noticeDetail.vue
+2
-3
No files found.
src/components/open-doc-right.vue
View file @
6835c432
...
...
@@ -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 -->
...
...
src/views/index/noticeDetail.vue
View file @
6835c432
...
...
@@ -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
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment