Browse Source

添加_id参数

zgl 1 tuần trước cách đây
mục cha
commit
f3090f3603
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/catalog/product/ProductsSection.tsx

+ 1 - 0
src/components/catalog/product/ProductsSection.tsx

@@ -30,6 +30,7 @@ export function ProductsSection({ title, description, products }: ProductsSectio
               imageUrl={imageUrl || ""}
               price={String(ProductPrice)}
               product={{
+                _id: item._id,
                 urlKey: item.urlKey || item.sku,
                 name: item?.name || item.sku,
                 id: item.id,