线上课课程简介去除下拉

This commit is contained in:
禺狨
2023-04-04 09:45:38 +08:00
parent c497da6947
commit 25e08c26cb
3 changed files with 6 additions and 6 deletions

View File

@@ -462,7 +462,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
rules={[{ required: true, message: "请选择指派部门!" }]}
>
<Radio.Group onChange={getType}>
<Radio value="open"></Radio>
<Radio value="open"></Radio>
<Radio value="elective"></Radio>
</Radio.Group>
</Form.Item>
@@ -584,7 +584,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
</Form.Item>
<Form.Item label="课程简介" name="short_desc">
<Input.TextArea
style={{ width: 424, height: 80 }}
style={{ width: 424, height: 80, resize: "none" }}
allowClear
placeholder="请输入课程简介最多200字"
maxLength={200}

View File

@@ -218,7 +218,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
rules={[{ required: true, message: "请选择指派部门!" }]}
>
<Radio.Group onChange={getType}>
<Radio value="open"></Radio>
<Radio value="open"></Radio>
<Radio value="elective"></Radio>
</Radio.Group>
</Form.Item>
@@ -340,7 +340,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
</Form.Item>
<Form.Item label="课程简介" name="short_desc">
<Input.TextArea
style={{ width: 424, height: 80 }}
style={{ width: 424, height: 80, resize: "none" }}
allowClear
placeholder="请输入课程简介最多200字"
maxLength={200}