var richtext= res.data.data.richtext;
const regex = new RegExp('<img', 'gi');
richtext= richtext.replace(regex, `<img style="max-width: 100%;"`);\

this.content = richtext;

相关文章:

  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2021-05-05
  • 2022-02-09
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案