Commit 79589b84 by zhanghaozhe

bug 82

parent d660212c
...@@ -57,6 +57,13 @@ class Detail extends Component { ...@@ -57,6 +57,13 @@ class Detail extends Component {
this.isweixinPay() this.isweixinPay()
} }
} }
componentDidUpdate(prevProps) {
if(prevProps.user.hasError !== this.props.user.hasError){
this.fetchCourseInfo()
}
}
payCallback =() => { payCallback =() => {
const _this = this; const _this = this;
if(!getParam('oid')) { if(!getParam('oid')) {
......
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