diff --git a/public/react/src/modules/courses/exercise/ExerciseNewCommon.js b/public/react/src/modules/courses/exercise/ExerciseNewCommon.js
index 609a88884..f2b6ae0cc 100644
--- a/public/react/src/modules/courses/exercise/ExerciseNewCommon.js
+++ b/public/react/src/modules/courses/exercise/ExerciseNewCommon.js
@@ -610,6 +610,8 @@ class ExerciseNewCommon extends Component{
{/* */}
试卷预览
}
+
+ {this.props.bottomSection && this.props.bottomSection}
}
diff --git a/public/react/src/modules/user/usersInfo/banks/ExerciseBanksEdit.js b/public/react/src/modules/user/usersInfo/banks/ExerciseBanksEdit.js
index 7ab9aedec..723761277 100644
--- a/public/react/src/modules/user/usersInfo/banks/ExerciseBanksEdit.js
+++ b/public/react/src/modules/user/usersInfo/banks/ExerciseBanksEdit.js
@@ -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={
+ 完成
+ }
>
)