diff --git a/pages/shop-cart/index.js b/pages/shop-cart/index.js index 1799d732..0e7f6b16 100644 --- a/pages/shop-cart/index.js +++ b/pages/shop-cart/index.js @@ -34,9 +34,9 @@ Page({ }, onLoad: function () { this.initEleWidth(); - this.onshow(); + this.onShow(); }, - onshow: function(){ + onShow: function(){ var shopList = []; // 获取购物车数据 var shopCarInfoMem = wx.getStorageSync('shopCarInfo');