input 都增加清空按钮

This commit is contained in:
禺狨
2023-04-25 10:15:07 +08:00
parent 391af1a488
commit 86a16c9722
21 changed files with 99 additions and 18 deletions

View File

@@ -470,6 +470,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
<Input
style={{ width: 424 }}
placeholder="请在此处输入课程名称"
allowClear
/>
</Form.Item>
<Form.Item
@@ -683,6 +684,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
onChange={(e) => {
setChapterName(index, e.target.value);
}}
allowClear
placeholder="请在此处输入章节名称"
/>
<Button