feat: 完成角色删除功能对接

This commit is contained in:
siujamo
2025-12-29 14:20:38 +08:00
parent 1ae17823ef
commit 944d176240
3 changed files with 81 additions and 39 deletions
+2 -2
View File
@@ -69,10 +69,10 @@ export default function RoleDisplayForm({ initialValues, form, mode }: RoleDispl
{ required: true, message: "排序不能为空" },
{ type: "number", min: 0, max: Number.MAX_VALUE, message: "排序必须是正数" },
]}>
<InputNumber />
<InputNumber type="number" />
</Form.Item>
<Form.Item<RoleFormValues> label="是否为默认角色" name="defaultValue">
<Switch disabled={isEditing}/>
<Switch disabled={isEditing} />
</Form.Item>
<Form.Item<RoleFormValues> label="角色状态" name="status">
<Select<Status> options={StatusOptions} />