Commit cce344b20d8b6140cc7c093347b64a8e49fe15e5
1 parent
156736a2ed
Exists in
master
修改详情页的正则
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/pages/frameDetail/frameDetail.vue
... | ... | @@ -399,7 +399,7 @@ export default { |
399 | 399 | this.parameter[5].slength = `${this.goodInfo.weight}mm` |
400 | 400 | this.tag = this.goodInfo.tag |
401 | 401 | this.test = this.goodInfo.prodIntro1 |
402 | - this.test = this.test.replace('/\<img/gi', '<img style="max-width:100%;height:auto"') | |
402 | + this.test = this.test.replace(/\<img/gi, '<img style="max-width:100%;height:auto"') | |
403 | 403 | // addCart |
404 | 404 | this.addCartList.price = this.goodInfo.priceArea.Min_Price |
405 | 405 | this.addCartList.sk_id = this.goodInfo.skuList[0].sk_id | ... | ... |