Commit 33903c42 by FE

modify is_bargain in course detail

parent d5bdf898
......@@ -38,7 +38,8 @@ class Detail extends Component {
this.props.getCourses();
}
const { courseInfo } = this.props;
if(courseInfo.is_bargain) {
console.log(this.props);
if(courseInfo.course_info.is_bargain) {
this.getBargainInfo();
}
}
......
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