From 5db4ae0f185ab1432f97946e8210f0baef8b7295 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 27 Jun 2019 15:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93=E9=80=89=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E7=AB=8B=E5=8D=B3=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/busyWork/commonWork.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/commonWork.js b/public/react/src/modules/courses/busyWork/commonWork.js index cc4aff4f9..7fbe33a67 100644 --- a/public/react/src/modules/courses/busyWork/commonWork.js +++ b/public/react/src/modules/courses/busyWork/commonWork.js @@ -88,10 +88,14 @@ class commonWork extends Component{ let {page,search,order}=this.state; this.getList(page,search,order); } - useBankSuccess = () => { + useBankSuccess = (checkBoxValues, newWorkIdArray) => { this.setState({ - page:1 + page:1, + checkBoxValues: newWorkIdArray + }, () => { + this.refs['publishModalRef'].open() }) + let {search, order}=this.state; this.getList(1, search, order); } @@ -418,7 +422,7 @@ class commonWork extends Component{ onClick={this.onWorkDelete}>删除
  • -