From b8e50a95119ed02571836a0a16cede7f6847cb44 Mon Sep 17 00:00:00 2001 From: Shu Guang <61069967+shuguangnet@users.noreply.github.com> Date: Fri, 16 May 2025 02:27:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=AE=BA=E5=9D=9B?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Forum/Detail/index.tsx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/pages/Forum/Detail/index.tsx b/src/pages/Forum/Detail/index.tsx index 4626a82..5827c41 100644 --- a/src/pages/Forum/Detail/index.tsx +++ b/src/pages/Forum/Detail/index.tsx @@ -147,6 +147,7 @@ const ForumDetail: React.FC = () => {
{post?.title || '帖子标题'} }> + {post?.user?.userName || '无'} @@ -157,7 +158,16 @@ const ForumDetail: React.FC = () => { {post?.tagList?.map((tag: string) => ( {tag} ))} - + {isMyPost && ( + + )}
@@ -182,16 +192,7 @@ const ForumDetail: React.FC = () => { > 收藏 {post?.favourNum ?? 0} - {isMyPost && ( - - )} +