解决文本框显示不换行white-space
*规定段落中的文本white-space:
vue代码中:<div v-html="entity.summary" style="white-space: pre-line;"></div>
不加style前,不能识别换行,加了后,显示正常,问题解决。
*规定段落中的文本white-space:
vue代码中:<div v-html="entity.summary" style="white-space: pre-line;"></div>
不加style前,不能识别换行,加了后,显示正常,问题解决。