this.htmlTxt = res.content.replace(/<img/g, '<img style="max-width: 100%;"')
console.log(this.htmlTxt);
uniapp 使用富文本适配手机端
最新推荐文章于 2022-11-25 13:59:56 发布
this.htmlTxt = res.content.replace(/<img/g, '<img style="max-width: 100%;"')
console.log(this.htmlTxt);