获取到富文本内容 修改img样式
const regex = new RegExp('<img', 'gi') res.details = details.replace(regex, `<img style="max-width: 100%; height: auto"`);
未闻花名
const regex = new RegExp('<img', 'gi') res.details = details.replace(regex, `<img style="max-width: 100%; height: auto"`);