Skip to content

Commit

Permalink
fix:商品详情选择加入购物车,返回首页切换tab进购物车没有新增加的商品信息
Browse files Browse the repository at this point in the history
  • Loading branch information
gooking committed Sep 3, 2017
1 parent 90e0d29 commit 10691d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/shop-cart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Page({
},
onLoad: function () {
this.initEleWidth();
this.onshow();
this.onShow();
},
onshow: function(){
onShow: function(){
var shopList = [];
// 获取购物车数据
var shopCarInfoMem = wx.getStorageSync('shopCarInfo');
Expand Down

0 comments on commit 10691d9

Please sign in to comment.