product:完善 App 商品分页接口

This commit is contained in:
YunaiV
2022-12-15 19:48:21 +08:00
parent 652428a723
commit d453301455
15 changed files with 132 additions and 115 deletions

View File

@ -305,9 +305,7 @@ export default {
},
methods: {
loadProductData() {
let param = {}
param.spuId = this.product.id
productSpu(param).then(res => {
productSpu(this.product.id).then(res => {
this.product.images = res.data.picUrls;
this.product.sku = res.data.skus;
this.product.desc = res.data.description.replace(/<[^>]*>/g,'');