comment 8.1
This commit is contained in:
@@ -297,7 +297,7 @@ export default {
|
||||
},
|
||||
setTotalPrice() {
|
||||
const goods = this.orderInfo.store_goods_total;
|
||||
console.log(this.freight);
|
||||
// console.log(this.freight);
|
||||
const freight = this.freight;
|
||||
let price = 0;
|
||||
// 商品价格加上运费
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
this.getCartList();
|
||||
},
|
||||
onShow() {
|
||||
this.getCartList();
|
||||
},
|
||||
@@ -111,6 +114,7 @@ export default {
|
||||
getCartList() {
|
||||
this.$u.api.getCartTreeList().then(res => {
|
||||
if (res.errCode == 0) {
|
||||
uni.stopPullDownRefresh();
|
||||
let list = res.data.store_cart_list;
|
||||
list.forEach((item, l_index) => {
|
||||
// 判断有无 checked 属性,如果有取值再赋值, 没有给默认值 false
|
||||
|
||||
Reference in New Issue
Block a user