diff --git a/public/react/src/modules/courses/boards/BoardsNew.js b/public/react/src/modules/courses/boards/BoardsNew.js index c460a0a62..9833e9eb3 100644 --- a/public/react/src/modules/courses/boards/BoardsNew.js +++ b/public/react/src/modules/courses/boards/BoardsNew.js @@ -313,18 +313,14 @@ class BoardsNew extends Component{

{/* notRequired */}
-
- - { isAdmin && +
+ { isAdmin && {getFieldDecorator('sticky', { valuePropName: 'checked', })( - isAdmin && 置顶 )} @@ -332,6 +328,11 @@ class BoardsNew extends Component{ } + + {getFieldDecorator('subject', { rules: [{ required: true, message: '请输入标题',