Authored by 郝肖肖

加减购物车商品失败提示

@@ -608,6 +608,8 @@ function countAJAX(data) { @@ -608,6 +608,8 @@ function countAJAX(data) {
608 }).then(function(d) { 608 }).then(function(d) {
609 if (d.code === 200) { 609 if (d.code === 200) {
610 window.history.go(0); 610 window.history.go(0);
  611 + } else {
  612 + new Alert(d.message === '' ? '加入购物车失败哦~~' : d.message).show();
611 } 613 }
612 countBusy = false; 614 countBusy = false;
613 }); 615 });