diff --git a/apps/admin/src/pages/Students/index.tsx b/apps/admin/src/pages/Students/index.tsx index c71ba11..29e7c88 100644 --- a/apps/admin/src/pages/Students/index.tsx +++ b/apps/admin/src/pages/Students/index.tsx @@ -222,7 +222,14 @@ const StudentsPage: React.FC = () => { const columns = [ { title: 'ID', dataIndex: 'id', width: 70 }, - { title: '姓名', dataIndex: 'name', width: 120 }, + { + title: '姓名', + dataIndex: 'name', + width: 120, + render: (v: string, record: any) => ( + navigate(`/students/${record.id}/profile`)}>{v} + ), + }, { title: '性别', dataIndex: 'gender', width: 70 }, { title: '电话',