mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 03:39:34 +08:00
input 都增加清空按钮
This commit is contained in:
@@ -147,7 +147,11 @@ export const DepartmentCreate: React.FC<PropInterface> = ({
|
||||
name="name"
|
||||
rules={[{ required: true, message: "请输入部门名称!" }]}
|
||||
>
|
||||
<Input style={{ width: 200 }} placeholder="请输入部门名称" />
|
||||
<Input
|
||||
style={{ width: 200 }}
|
||||
allowClear
|
||||
placeholder="请输入部门名称"
|
||||
/>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user