fix: replace deprecated antd APIs (Drawer width→size, Modal destroyOnClose→destroyOnHidden)

This commit is contained in:
2026-07-05 21:47:32 +08:00
parent c77246d3e7
commit ab5898e2cf
4 changed files with 5 additions and 5 deletions

View File

@@ -233,7 +233,7 @@ const MainLayout: React.FC = () => {
placement="left"
open={drawerOpen}
onClose={() => setDrawerOpen(false)}
width={240}
size={240}
styles={{ body: { padding: 0 } }}
title="恭学教育基地"
>