部分微调

This commit is contained in:
@fawn-nine
2023-10-13 13:32:32 +08:00
parent 350f9d22d2
commit f5dc71993f
8 changed files with 85 additions and 101 deletions

View File

@@ -287,15 +287,20 @@
this.shangIDNum = e.list
}
// this.getYunFei()
},
onShow() {
if (this.typeId == 1) {
this.getCartList()
} else if (this.typeId == 0) {
this.getShangList(this.shangIDNum);
}
}
},
onShow() {
// if (this.typeId == 1) {
// this.getCartList()
// } else if (this.typeId == 0) {
// this.getShangList(this.shangIDNum);
// }
this.getData()
this.getOS()
},
@@ -433,7 +438,7 @@
for (let i = 0; i < this.cartIDNum.length; i++) {
this.cartList.push(res.cartList[this.cartIDNum[i]])
}
// console.log(this.cartList, '购物车列表')
console.log(this.cartList, '购物车列表')
this.getCourpe()
this.getUserAddress()