摘要: this.indexList.forEach(item => { item.remark= item.remark.replace(/<br>/g, '\n').trim() }) 讲<br>转换为‘\n’ 加上trim()是为了去除首尾得空格 阅读全文
posted @ 2021-12-21 09:50 轩悦 阅读(301) 评论(0) 推荐(0) 编辑