diff --git a/alipay/app.json b/alipay/app.json index c33f9a3e0..c851a018e 100755 --- a/alipay/app.json +++ b/alipay/app.json @@ -1,8 +1,8 @@ { - "pages": ["pages/cart/cart", + "pages": [ "pages/index/index", "pages/goods-category/goods-category", - + "pages/cart/cart", "pages/user/user", "pages/web-view/web-view", "pages/login/login", diff --git a/alipay/pages/cart/cart.js b/alipay/pages/cart/cart.js index 3e5d493d7..07305ad88 100644 --- a/alipay/pages/cart/cart.js +++ b/alipay/pages/cart/cart.js @@ -126,7 +126,6 @@ Page({ if (res.data.code == 0) { temp_data_list[index]['stock'] = buy_number this.setData({ data_list: temp_data_list }); - my.showToast({ content: res.data.msg }); } else { my.showToast({ type: "fail", diff --git a/alipay/pages/cart/cart.json b/alipay/pages/cart/cart.json index 9e26dfeeb..c96031fd7 100644 --- a/alipay/pages/cart/cart.json +++ b/alipay/pages/cart/cart.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "pullRefresh": true +} \ No newline at end of file