Commit 4fe6a13a by wangshuo

课程详情页非拼团课程

parent 30cd46d1
......@@ -142,9 +142,11 @@ class Detail extends Component {
let service = '';
let number = 0;
if (this.props.courseInfo.course_info) {
courseInfo = this.props.courseInfo.course_info
service = courseInfo.service
number = courseInfo.pdd_group_info.groupon_member.number;
courseInfo = this.props.courseInfo.course_info;
service = courseInfo.service;
if(courseInfo.group_status !== 0) {
number = courseInfo.pdd_group_info.groupon_member.number;
}
}
const {
is_bargain, // 是否是砍价课程
......
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