Browse Source

修改购物车增减商品提示语文案

master
liutong 1 year ago
parent
commit
9c222203a1
  1. 7
      components/directionGoodsItem.vue

7
components/directionGoodsItem.vue

@ -371,9 +371,16 @@
},
success: ({ data }) => {
if (data > 0) {
if (type == 'add'){
this.$util.showToast({
title: '加入购物车成功'
});
}else{
this.$util.showToast({
title: '移除购物车成功'
});
}
this.$forceUpdate();
this.cartNumber += this.number;
if (this.callback) this.callback();

Loading…
Cancel
Save