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