diff --git a/src/components/frontend/home/comment/list/locales/zh_CN.json b/src/components/frontend/home/comment/list/locales/zh_CN.json index 544b7b4..e4610aa 100644 --- a/src/components/frontend/home/comment/list/locales/zh_CN.json +++ b/src/components/frontend/home/comment/list/locales/zh_CN.json @@ -1,3 +1,3 @@ { - + "CommentSection":"评论区" } \ No newline at end of file diff --git a/src/components/frontend/home/comment/list/web.pc.tsx b/src/components/frontend/home/comment/list/web.pc.tsx index dcf7626..11268d3 100644 --- a/src/components/frontend/home/comment/list/web.pc.tsx +++ b/src/components/frontend/home/comment/list/web.pc.tsx @@ -41,24 +41,26 @@ const List = ( return ( <> -

评论区

- +

{t('CommentSection')}

+ {list && ( <> {list.map((item) => { - return
{item.id}:
; + return ( +
+ {item.id}: +
+ ); })} )} {/* textarea*/} {/* button */} - + ); };