Merge branch 'topic_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into topic_bank

dev_aliyun_beta
杨树林 5 years ago
commit 93acae48fc

@ -610,6 +610,8 @@ class ExerciseNewCommon extends Component{
{/* <i className="iconfont icon-tianjiafangda color-white font-14 mr5" style={{ marginTop: '-1px', display: 'inline-block'}}></i> */}
试卷预览
</ActionBtn>}
{this.props.bottomSection && this.props.bottomSection}
</div>}
</div>
</React.Fragment>

@ -1,5 +1,6 @@
import React, { Component } from 'react';
import axios from 'axios'
import { ActionBtn } from 'educoder'
import ExerciseNewCommon from '../../../courses/exercise/ExerciseNewCommon'
@ -32,7 +33,7 @@ class ExerciseBanksEdit extends Component {
}
render(){
let { workId } = this.props.match.params
let { Id, type } = this.props.match.params
const common = {
// onCancel:this.onCancel,
// isGroup: this.isGroup,
@ -59,6 +60,9 @@ class ExerciseBanksEdit extends Component {
shixunsUrl={`/exercise_banks/choose_shixun.json`}
exercise_url={'exercise_banks'}
exercise_url_questions={'exercise_bank_questions'}
bottomSection={<ActionBtn style="blue" className="fr" to={`/banks/exercise/${Id}/${this.props.match.params.type}`}>
完成
</ActionBtn>}
></ExerciseNewCommon>
</div>
)

Loading…
Cancel
Save