xiaolin.fu 1 年之前
父节点
当前提交
8258a72573
共有 2 个文件被更改,包括 103 次插入2826 次删除
  1. 102 2825
      pnpm-lock.yaml
  2. 1 1
      src/app/[locale]/_home/HomeGames.tsx

文件差异内容过多而无法显示
+ 102 - 2825
pnpm-lock.yaml


+ 1 - 1
src/app/[locale]/_home/HomeGames.tsx

@@ -14,7 +14,7 @@ const HomeSwiper: FC<PropsWithChildren<Props>> = (props) => {
     }, []);
     return (
         <div>
-            {groupGames.map((group, index) => {
+            {!!groupGames &&groupGames.map((group, index) => {
                 return <SwiperGroup key={index} group={group}></SwiperGroup>;
             })}
         </div>

部分文件因为文件数量过多而无法显示