Bläddra i källkod

添加_id参数

zgl 1 vecka sedan
förälder
incheckning
f3090f3603
1 ändrade filer med 1 tillägg och 0 borttagningar
  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,