Skip to content

Commit

Permalink
create order , clear shop car
Browse files Browse the repository at this point in the history
  • Loading branch information
gooking committed May 13, 2017
1 parent eb496a7 commit 9c89fcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pages/to-pay-order/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ Page({
})
return;
}


// 清空购物车数据
wx.removeStorageSync('shopCarInfo');
// 下单成功,跳转到订单管理界面
wx.reLaunch({
url: "/pages/order-list/index"
});
}
})
},
Expand Down

0 comments on commit 9c89fcd

Please sign in to comment.