diff --git a/src/components/about/usecase_items.tsx b/src/components/about/usecase_items.tsx index 6a61484..d90d4c3 100644 --- a/src/components/about/usecase_items.tsx +++ b/src/components/about/usecase_items.tsx @@ -14,7 +14,7 @@ function UseCaseItems(props: { const useDescripList = useDescrip.map((v) => { return

{t(v)}

; - }); + }); //todo: react use id return (
diff --git a/src/components/common/news_list.tsx b/src/components/common/news_list.tsx index 16cc638..c4736f5 100644 --- a/src/components/common/news_list.tsx +++ b/src/components/common/news_list.tsx @@ -13,7 +13,7 @@ function NewsList() { date={v.date} image={v.image} contents={v.contents} - link={v.id} + link={v.id} //link 格式 /> ); });