Browse Source

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

* Update index.vue

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

* Update index.vue

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

* Update api.js

修正CartUpdate为url地址而不是函数名
1037621594 6 years ago
parent
commit
2b9610c155
1 changed files with 2 additions and 2 deletions
  1. 2 2
      litemall-vue/src/api/api.js

+ 2 - 2
litemall-vue/src/api/api.js

@@ -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 = '';