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}>删除
  • -