修正购物车修改商品数量的api接口地址 (#255)

* Update index.vue

修复了商品分类无法切换的bug

* Update index.vue

阻止冒泡事件,修复了点击去支付后跳转到支付页面又执行上层列表点击事件跳到订单详情页面

* Update api.js

修正CartUpdate为url地址而不是函数名
This commit is contained in:
1037621594
2019-08-15 22:58:33 +08:00
committed by linlinjava
parent b8dde20724
commit 2b9610c155

View File

@@ -161,7 +161,7 @@ export function cartFastAdd(data) {
const CartUpdate='wx/cart/update'; // 更新购物车的商品
export function cartUpdate(data) {
return request({
url: cartUpdate,
url: CartUpdate,
method: 'post',
data
})
@@ -437,4 +437,4 @@ export function getList(api, query) {
})
}
export const REFUND_LIST = '';
export const REFUND_LIST = '';