修正购物车修改商品数量的api接口地址 (#255)
* Update index.vue 修复了商品分类无法切换的bug * Update index.vue 阻止冒泡事件,修复了点击去支付后跳转到支付页面又执行上层列表点击事件跳到订单详情页面 * Update api.js 修正CartUpdate为url地址而不是函数名
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user