- { isAdmin &&
+
+ { isAdmin &&
{getFieldDecorator('sticky', {
valuePropName: 'checked',
})(
- isAdmin && 置顶
)}
@@ -332,6 +328,11 @@ class BoardsNew extends Component{
}
+
+
{getFieldDecorator('subject', {
rules: [{
required: true, message: '请输入标题',
From ae11c2f4a3aa23160a5ca42c06a1d3af2c2341b7 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Wed, 3 Jul 2019 14:17:36 +0800
Subject: [PATCH 2/3] clearSelection
---
public/react/src/modules/courses/busyWork/commonWork.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/busyWork/commonWork.js b/public/react/src/modules/courses/busyWork/commonWork.js
index 7fbe33a67..8b2a3dced 100644
--- a/public/react/src/modules/courses/busyWork/commonWork.js
+++ b/public/react/src/modules/courses/busyWork/commonWork.js
@@ -128,7 +128,7 @@ class commonWork extends Component{
}
//筛选条件
selectedStatus=(e)=>{
-
+ this.clearSelection()
this.setState({
order:e.key==="all"?"":e.key,
page:1,
From 3ec938c97f4c0a7ad4adfa64b079da3bcc33fa46 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Wed, 3 Jul 2019 14:20:38 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=88=86=E7=BB=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/courses/busyWork/NewWork.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/busyWork/NewWork.js b/public/react/src/modules/courses/busyWork/NewWork.js
index c30832c8f..462bebaa1 100644
--- a/public/react/src/modules/courses/busyWork/NewWork.js
+++ b/public/react/src/modules/courses/busyWork/NewWork.js
@@ -369,7 +369,7 @@ class NewWork extends Component{
*/}