Merge branch 'bd-dev' of 47.94.45.65:angelo/web-base-h5 into bd-test

This commit is contained in:
woody 2025-09-24 09:50:33 +08:00
commit c0af6ff148
1 changed files with 10 additions and 8 deletions

View File

@ -356,7 +356,7 @@ export default {
})
// sangelxiu1
this.newShareMember = uni.getStorageSync('User')?.loginType !== 0
if(this.newShareMember){
if (this.newShareMember) {
uni.navigateTo({
url:
'/pages/regiest/shareRegister?specialArea=' +
@ -364,7 +364,7 @@ export default {
'&shoppArr=' +
JSON.stringify(shoppArr),
})
}else{
} else {
uni.navigateTo({
url:
'/pages/regiest/index?specialArea=' +
@ -586,10 +586,12 @@ 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)
if (this.newShareMember) {
if (this.shopCarList) {
this.shopCarList = this.shopCarList.filter(
car => car.specialArea === 1
)
let subCar = this.shopCarList.find(car => car.specialArea === 1)
this.$set(subCar, 'specialAreaVal', '会员专区')
}
}