diff --git a/alipay/app.json b/alipay/app.json index c33f9a3e05f8c6524fbec41fcf170a7846e27fa8..c851a018ef34ab5e005d081c23cc4f9c1da30a32 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 3e5d493d7bcb1c38716fce6a313714d1d9a130b1..07305ad8853ba291b4a6cf097ebe57516b3a3fa2 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 9e26dfeeb6e641a33dae4961196235bdb965b21b..c96031fd76224e1d3d806920567663c826e9096a 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