Explorar o código

添加购物车不减少库存

skyblued %!s(int64=3) %!d(string=hai) anos
pai
achega
1cd479de45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(() => {