Merge remote-tracking branch 'origin/topic_bank' into topic_bank

dev_aliyun_beta
杨树明 5 years ago
commit c3d0224215

@ -38,7 +38,6 @@ class ExerciseReviewAndAnswer extends Component{
super(props); super(props);
this.state={ this.state={
data:undefined, data:undefined,
userName:undefined,
questionPanelFixed:false, questionPanelFixed:false,
e_ReviewInfo:undefined, e_ReviewInfo:undefined,
e_AnswerInfo:undefined, e_AnswerInfo:undefined,
@ -166,7 +165,6 @@ class ExerciseReviewAndAnswer extends Component{
getInfo=()=>{ getInfo=()=>{
this.setState({ this.setState({
courseName:this.props.current_user.course_name, courseName:this.props.current_user.course_name,
userName:this.props.current_user.username,
isSpin:true isSpin:true
}) })
@ -493,7 +491,6 @@ class ExerciseReviewAndAnswer extends Component{
let{ let{
data, data,
questionPanelFixed, questionPanelFixed,
userName,
courseName, courseName,
exercise, exercise,
exercise_types, exercise_types,

@ -19,7 +19,6 @@ class PollInfo extends Component{
super(props); super(props);
this.state={ this.state={
courseName:undefined, courseName:undefined,
userName:undefined,
poll:undefined, poll:undefined,
question_answered:undefined, question_answered:undefined,
question_types:undefined, question_types:undefined,
@ -73,8 +72,7 @@ class PollInfo extends Component{
getInfo=()=>{ getInfo=()=>{
this.setState({ this.setState({
courseName:this.props.current_user.course_name, courseName:this.props.current_user.course_name
userName:this.props.current_user.username
}) })
let pollId=this.props.match.params.pollId; let pollId=this.props.match.params.pollId;
let user_id=this.props.match.params.login; let user_id=this.props.match.params.login;
@ -291,7 +289,7 @@ class PollInfo extends Component{
render(){ render(){
let coursesId=this.props.match.params.coursesId; let coursesId=this.props.match.params.coursesId;
let{poll,question_answered,question_types,questions,courseName,userName, let{poll,question_answered,question_types,questions,courseName,
inputArray, inputArray,
modalsType, modalsType,
modalsTopval, modalsTopval,

Loading…
Cancel
Save