mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:19:45 +08:00
input 都增加清空按钮
This commit is contained in:
@@ -180,6 +180,7 @@ export const SystemAdminrolesCreate: React.FC<PropInterface> = ({
|
||||
<Input
|
||||
style={{ width: 424 }}
|
||||
placeholder="请在此处输入角色名称"
|
||||
allowClear
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item label="操作权限" name="action_ids">
|
||||
|
||||
@@ -191,7 +191,11 @@ export const SystemAdminrolesUpdate: React.FC<PropInterface> = ({
|
||||
name="name"
|
||||
rules={[{ required: true, message: "请输入角色名!" }]}
|
||||
>
|
||||
<Input style={{ width: 424 }} placeholder="请输入角色名" />
|
||||
<Input
|
||||
style={{ width: 424 }}
|
||||
allowClear
|
||||
placeholder="请输入角色名"
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item label="操作权限" name="action_ids">
|
||||
<TreeSelect
|
||||
|
||||
Reference in New Issue
Block a user