vue中让字符串能识别换行符 \n 在标签的style中添加white-space:pre-line;<span style='white-space:pre-line;'>{{'aaaaaaa \n bbbbbbb \n ccccccc'}}</span> html 2023-12-11 50 点赞 0 评论 75 浏览