html中显示\n为换行符

6,460 阅读1分钟
<p style="font-size:16px;white-space: pre-line;">{{item.job_content}}</p>
p{ white-space: pre-line; }