Commit f2696557 by wangshuo

点击事件

parent 2cd9cdc0
...@@ -404,7 +404,7 @@ class YearCourse extends Component { ...@@ -404,7 +404,7 @@ class YearCourse extends Component {
<div className="coupon-course__footer"> <div className="coupon-course__footer">
{ {
item.is_buy == 1 && item.is_buy == 1 &&
<a toCourse={this.toCourse} className="btn to-study">开始学习</a> <a onClick={this.toCourse} className="btn to-study">开始学习</a>
} }
{ {
item.is_buy == 0 && item.is_buy == 0 &&
......
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