Sfoglia il codice sorgente

添加购物车不减少库存

skyblued 3 anni fa
parent
commit
1cd479de45
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
         })
         if (code === 200) {
-          this.getProductAddCartCount(selectItem.id, true)
+          // this.getProductAddCartCount(selectItem.id, true)
           if (this.showType === 'cart') {
             this.onGetCartCount()
             this.$nextTick(() => {