mirror of
https://gitee.com/novel_dev_team/novel-front-web
synced 2026-07-20 17:54:10 +08:00
perf: 空白/换行符处理
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="intro_txt">
|
<div class="intro_txt">
|
||||||
<p style="white-space:pre" v-html="book.bookDesc"></p>
|
<p style="white-space:break-spaces" v-html="book.bookDesc"></p>
|
||||||
<a class="icon_hide" href="javascript:void(0)" onclick=""
|
<a class="icon_hide" href="javascript:void(0)" onclick=""
|
||||||
><i></i>收起</a
|
><i></i>收起</a
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
<div
|
<div
|
||||||
id="showReading"
|
id="showReading"
|
||||||
class="readBox"
|
class="readBox"
|
||||||
style="font-size: 16px; font-family: microsoft yahei;white-space:pre"
|
style="font-size: 16px; font-family: microsoft yahei;white-space:break-spaces"
|
||||||
v-html="data.bookContent"
|
v-html="data.bookContent"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user