zhangzf 1 tydzień temu
rodzic
commit
50c1defa6b
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/app/(public)/_components/HomeContent.tsx

+ 3 - 3
src/app/(public)/_components/HomeContent.tsx

@@ -15,7 +15,7 @@ import "swiper/css";
 import "swiper/css/navigation";
 import type {HomeApiData,HomeProduct } from "@/types/home/type"
 import {CustomerService} from "@/components/common/CustomerService/CustomerService";
-// import AddToCartModalNew from "@/components/common/AddToCartModal/AddToCartModalNew";
+import AddToCartModalNew from "@/components/common/AddToCartModal/AddToCartModalNew";
 // 定义组件入参类型
 interface HomeContentProps {
   homeData: HomeApiData;
@@ -160,9 +160,9 @@ export default function HomeContent({ homeData }: HomeContentProps) {
     </div>
     <CustomerService />
     <button onClick={() => setIsOpen(true)}>test</button>
-    {/* <AddToCartModalNew
+    <AddToCartModalNew
         isOpen={isOpen}
         onClose={closeHandler}
-    /> */}
+    />
   </>);
 }