Commit 1296b642 by wangshuo

pre环境出不来

parent 0537932f
...@@ -100,6 +100,7 @@ class Python extends Component { ...@@ -100,6 +100,7 @@ class Python extends Component {
}) })
}else{ }else{
this.setState({ this.setState({
backwardVersion: false,
isPay: data.course_info.is_pay isPay: data.course_info.is_pay
}) })
} }
...@@ -110,9 +111,15 @@ class Python extends Component { ...@@ -110,9 +111,15 @@ class Python extends Component {
}) })
}else{ }else{
this.setState({ this.setState({
backwardVersion: false,
isPay: data.course_info.is_pay isPay: data.course_info.is_pay
}) })
} }
} else {
this.setState({
backwardVersion: false,
isPay: data.course_info.is_pay
})
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment