fix: use div wrapper for Drawer content

This commit is contained in:
2026-07-06 17:01:17 +08:00
parent edb80b7fb2
commit b8563fbde0

View File

@@ -589,7 +589,7 @@ const StudentsPage: React.FC = () => {
width={720}
loading={drawerLoading}
>
{drawerData && (<>
{drawerData && (<div>
<Tabs items={[
{
key: 'info', label: '基础信息',
@@ -674,7 +674,7 @@ const StudentsPage: React.FC = () => {
const token = localStorage.getItem('token');
window.open(`/api/archive/${drawerData?.student?.id}/report?token=${token}`, '_blank');
}}></Button>
</>}
</div>)}
</Drawer>
</div>
);