zcj03 7 月之前
父节点
当前提交
e451c4e03a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Card/Card.tsx

+ 1 - 1
src/components/Card/Card.tsx

@@ -84,7 +84,7 @@ const Card: FC<PropsWithChildren<CardProps>> = (props) => {
                     <div className={styles.cardWrap} style={{ width: "1.1rem" }}>
                         <img
                             src={item?.game_icon}
-                            alt={item?.game_name_cn}
+                            alt={item?.game_name_cn +'-'+ item?.category_name}
                             className={"h-[100%] w-[100%]"}
                         />
                     </div>