diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js index 7404f69d6..c8cb7f832 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js @@ -304,7 +304,7 @@ class GraduationTasksedit extends Component{ {description===undefined?"":
{/*内容*/} -
+
{getFieldDecorator('tasktype', { @@ -323,13 +323,13 @@ class GraduationTasksedit extends Component{ {getFieldDecorator('name', { rules: [{ required: true, message: "请输入标题" }], - })()} + })()}
-
+
{getFieldDecorator('description', { rules: [{ diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js index fec4248df..be85e5087 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksnew.js @@ -294,7 +294,7 @@ class GraduationTasksnew extends Component { } {/*内容*/} -
+
{getFieldDecorator('tasktype', { @@ -309,12 +309,14 @@ class GraduationTasksnew extends Component { (选择确认后,无法修改) - + {getFieldDecorator('name', { - rules: [{ required: true, message: "请输入标题" }], - })()} + rules: [{required: true, message: "不能为空"}], + })()} - +