fix(shoppingCar): 购物车会员专区问题修复
This commit is contained in:
parent
9d4cc859d6
commit
304d889296
|
@ -588,8 +588,10 @@ export default {
|
|||
this.shopCarList = res.data
|
||||
if (this.newShareMember) {
|
||||
if (this.shopCarList) {
|
||||
this.shopCarList = this.shopCarList.filter(car => car.specialArea === 41);
|
||||
let subCar = this.shopCarList.find(car => car.specialArea === 41)
|
||||
this.shopCarList = this.shopCarList.filter(
|
||||
car => car.specialArea === 1
|
||||
)
|
||||
let subCar = this.shopCarList.find(car => car.specialArea === 1)
|
||||
this.$set(subCar, 'specialAreaVal', '会员专区')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue