修改商品详情页已售部分的bug
优化代码,取消控制台报错
This commit is contained in:
parent
c14f4b221c
commit
627485176e
@ -727,14 +727,14 @@ export default {
|
||||
// 购买记录
|
||||
getBuyRecord() {
|
||||
const params = {
|
||||
activity_id: 47,
|
||||
goods_id: this.id
|
||||
activity_id: this.groupById,
|
||||
goods_id: this.itemObj.id,
|
||||
}
|
||||
request(apiArr2.groupBuyRecord, 'POST', params).then(res => {
|
||||
const record = res.group_buy_record.map(item => {
|
||||
return {
|
||||
...item,
|
||||
avatar: picture + item.avatar
|
||||
avatar: picUrl + item.avatar
|
||||
}
|
||||
})
|
||||
this.purchaseRecords = record
|
||||
|
||||
@ -770,14 +770,14 @@ export default {
|
||||
// 购买记录
|
||||
getBuyRecord() {
|
||||
const params = {
|
||||
activity_id: 47,
|
||||
goods_id: this.id
|
||||
activity_id: this.groupById,
|
||||
goods_id: this.itemObj.id,
|
||||
}
|
||||
request(apiArr2.groupBuyRecord, 'POST', params).then(res => {
|
||||
const record = res.group_buy_record.map(item => {
|
||||
return {
|
||||
...item,
|
||||
avatar: picture + item.avatar
|
||||
avatar: picUrl + item.avatar
|
||||
}
|
||||
})
|
||||
this.purchaseRecords = record
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user