|
|
|
@ -239,6 +239,7 @@ class BoardsNew extends Component{
|
|
|
|
|
render() {
|
|
|
|
|
let { addGroup, fileList, course_id, title_num } = this.state;
|
|
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
|
|
const { current_user } = this.props
|
|
|
|
|
|
|
|
|
|
const formItemLayout = {
|
|
|
|
|
labelCol: {
|
|
|
|
@ -299,7 +300,7 @@ class BoardsNew extends Component{
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="edu-class-container edu-position courseForm">
|
|
|
|
|
<CBreadcrumb items={[
|
|
|
|
|
{ to: `/courses/${courseId}/students`, name: this.props.coursedata ? this.props.coursedata.name : ''},
|
|
|
|
|
{ to: current_user.first_category_url, name: this.props.coursedata ? this.props.coursedata.name : ''},
|
|
|
|
|
{ to: `/courses/${courseId}/boards/${boardId}`, name: this.state.board_name },
|
|
|
|
|
{ name: this.isEdit ? '帖子编辑' : '帖子新建'}
|
|
|
|
|
]}></CBreadcrumb>
|
|
|
|
|