摘要: 使用.text(str)时,str中有“\n”,但是页面显示却没有换行,需要在所在的 div添加属性 style="white-space: pre-line"即可。 来源 阅读全文
posted @ 2024-05-10 15:47 我辈年轻 阅读(18) 评论(0) 推荐(0) 编辑