From 55c472b840c1694b9379cf76ab35ff07240ac92d Mon Sep 17 00:00:00 2001 From: Shu Guang <61069967+shuguangnet@users.noreply.github.com> Date: Fri, 16 May 2025 17:53:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=95=99=E8=A8=80=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Admin.tsx | 1 + src/pages/Admin_UserManage.tsx | 12 +-- src/pages/Forum/Detail/index.tsx | 156 ++++++++++++++++--------------- src/pages/HomePage/index.tsx | 2 +- 4 files changed, 86 insertions(+), 85 deletions(-) diff --git a/src/pages/Admin.tsx b/src/pages/Admin.tsx index af81fd9..ec53bd1 100644 --- a/src/pages/Admin.tsx +++ b/src/pages/Admin.tsx @@ -95,6 +95,7 @@ const ForumAdmin: React.FC = () => { { title: '标签', dataIndex: 'tagList', + width: 200, render: (tags: string[]) => ( <> {tags?.map(tag => ( diff --git a/src/pages/Admin_UserManage.tsx b/src/pages/Admin_UserManage.tsx index 0e74cdb..5c128ef 100644 --- a/src/pages/Admin_UserManage.tsx +++ b/src/pages/Admin_UserManage.tsx @@ -156,13 +156,7 @@ const UserManage: React.FC = () => { return 普通用户; }, }, - { - title: '简介', - dataIndex: 'userProfile', - width: 200, - align: 'center', - ellipsis: true, - }, + { title: '创建时间', dataIndex: 'createTime', @@ -233,9 +227,9 @@ const UserManage: React.FC = () => { - + {/* - + */}