Commit 724c570d authored by 张伯涛's avatar 张伯涛

v-html接收带标签字符串的时候首尾空格不显示问题

parent f5b66759
...@@ -109,6 +109,7 @@ export default { ...@@ -109,6 +109,7 @@ export default {
} }
} }
.news_content{ .news_content{
white-space: pre-wrap;
padding: 0 189px; padding: 0 189px;
font-size: 16px; font-size: 16px;
font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-family: SourceHanSansCN, SourceHanSansCN-Regular;
......
...@@ -112,6 +112,7 @@ export default { ...@@ -112,6 +112,7 @@ export default {
} }
} }
.news_content{ .news_content{
white-space: pre-wrap;
padding: 0 189px; padding: 0 189px;
font-size: 16px; font-size: 16px;
font-family: SourceHanSansCN, SourceHanSansCN-Regular; font-family: SourceHanSansCN, SourceHanSansCN-Regular;
......
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