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