current_user &&

dev_forum
hjm 5 years ago
parent 2c639426b7
commit 016f6377eb

@ -407,11 +407,11 @@ class ExerciceNew extends Component{
}
`}</style>
<div className="edu-class-container edu-position courseForm">
<CBreadcrumb items={[
{ current_user && <CBreadcrumb items={[
{ to: current_user.first_category_url, name: this.props.coursedata ? this.props.coursedata.name : ''},
{ to: `/courses/${courseId}/exercises/${left_banner_id}`, name: '试卷列表' },
{ name: this.isEdit ? '编辑试卷' : '新建试卷'}
]}></CBreadcrumb>
]}></CBreadcrumb> }
<p className="clearfix mt20 mb20">
<span className="fl font-24 color-grey-3">{this.isEdit ? "编辑" : "新建"}试卷</span>

Loading…
Cancel
Save