From 2b9610c155c40bed3b454658d6f5a68f13b294a3 Mon Sep 17 00:00:00 2001 From: 1037621594 <1037621594@qq.com> Date: Thu, 15 Aug 2019 22:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F=E7=9A=84?= =?UTF-8?q?api=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=20(#255)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update index.vue 修复了商品分类无法切换的bug * Update index.vue 阻止冒泡事件,修复了点击去支付后跳转到支付页面又执行上层列表点击事件跳到订单详情页面 * Update api.js 修正CartUpdate为url地址而不是函数名 --- litemall-vue/src/api/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litemall-vue/src/api/api.js b/litemall-vue/src/api/api.js index 893953ff..6959fefd 100644 --- a/litemall-vue/src/api/api.js +++ b/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 = ''; \ No newline at end of file +export const REFUND_LIST = '';