单商户版小程序秒杀限购无效

This commit is contained in:
Gao xiaosong
2021-07-02 23:19:36 +08:00
parent c2e4ec1d7d
commit 7b535f1d45
4 changed files with 12 additions and 281 deletions

View File

@ -114,7 +114,7 @@ export default {
let that = this,
id = this.$yroute.query.id
getArticleDetails(id).then(res => {
res.data.content = res.data.content.replace(/\<img/gi, '<img style="width:100%;height:auto;"')
res.data.content = res.data.content.replace(/\<img/gi, '<img style="max-width:100% !important; height:auto"')
that.articleInfo = res.data
console.log(that.articleInfo)
that.updateTitle()