更新
This commit is contained in:
parent
1452292f81
commit
d73cd892ea
@ -765,9 +765,7 @@
|
|||||||
},
|
},
|
||||||
// 购物车信息
|
// 购物车信息
|
||||||
cartFn() {
|
cartFn() {
|
||||||
getCartList({
|
getCartList().then(res => {
|
||||||
source: 103
|
|
||||||
}).then(res => {
|
|
||||||
this.totalMoney = 0
|
this.totalMoney = 0
|
||||||
this.cartList = res.data.list
|
this.cartList = res.data.list
|
||||||
this.cartList.forEach(e => {
|
this.cartList.forEach(e => {
|
||||||
@ -777,9 +775,7 @@
|
|||||||
})
|
})
|
||||||
this.totalMoney = this.totalMoney.toFixed(2)
|
this.totalMoney = this.totalMoney.toFixed(2)
|
||||||
})
|
})
|
||||||
getCartCounts({
|
getCartCounts().then(res => {
|
||||||
source: 103
|
|
||||||
}).then(res => {
|
|
||||||
this.goodsNum = res.data[0].count
|
this.goodsNum = res.data[0].count
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -772,7 +772,8 @@
|
|||||||
// 购物车信息
|
// 购物车信息
|
||||||
cartFn() {
|
cartFn() {
|
||||||
getCartList({
|
getCartList({
|
||||||
source: 103
|
source: 103,
|
||||||
|
product_type: 98
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.totalMoney = 0
|
this.totalMoney = 0
|
||||||
this.cartList = res.data.list
|
this.cartList = res.data.list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user