浏览代码

添加购物车不减少库存

skyblued 3 年之前
父节点
当前提交
1cd479de45
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/shop-mall/modal/add-goods-cart/index.tsx

+ 1 - 1
src/views/shop-mall/modal/add-goods-cart/index.tsx

@@ -124,7 +124,7 @@ export default defineComponent({
           data: body
           data: body
         })
         })
         if (code === 200) {
         if (code === 200) {
-          this.getProductAddCartCount(selectItem.id, true)
+          // this.getProductAddCartCount(selectItem.id, true)
           if (this.showType === 'cart') {
           if (this.showType === 'cart') {
             this.onGetCartCount()
             this.onGetCartCount()
             this.$nextTick(() => {
             this.$nextTick(() => {