Commit 66ebf241 by wangshuo

从课程详情中获取课程信息

parent e4f4ec62
...@@ -258,6 +258,9 @@ class Order extends Component { ...@@ -258,6 +258,9 @@ class Order extends Component {
return; return;
} }
this.groupPrice = orderInfo.data.data.course_info.pdd_group_info.price; this.groupPrice = orderInfo.data.data.course_info.pdd_group_info.price;
if(courseInfo.data.data.course.length === 0) {
courseInfo.data.data.course.push(orderInfo.data.data.course_info)
}
this.publicGetData(courseInfo); this.publicGetData(courseInfo);
this.publicLocalStorage(); this.publicLocalStorage();
}); });
......
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