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

@@ -236,7 +236,7 @@ const RolesPage: React.FC = () => {
onOk={handleSubmit}
onCancel={() => setModalOpen(false)}
width={700}
destroyOnClose
destroyOnHidden
>
<Form form={form} layout="vertical">
<Form.Item