Commit 058aac60 by wangshuo

单集购买

parent 36177fec
...@@ -90,6 +90,7 @@ class Detail extends Component { ...@@ -90,6 +90,7 @@ class Detail extends Component {
// //
// } // }
payCallBack = (singleType, nowPrice, laterPrice) => { payCallBack = (singleType, nowPrice, laterPrice) => {
Toast.info(singleType, 2);
const _this = this; const _this = this;
if(singleType === 2) { if(singleType === 2) {
_this.setState({ _this.setState({
......
...@@ -158,7 +158,7 @@ class Single extends Component { ...@@ -158,7 +158,7 @@ class Single extends Component {
Toast.info(res.data.data.msg, 2) Toast.info(res.data.data.msg, 2)
return; return;
} }
this.props.payCallBack(singleType, nowPrice, laterPrice); _this.props.payCallBack(singleType, nowPrice, laterPrice);
}) })
} }
}) })
...@@ -231,7 +231,7 @@ class Single extends Component { ...@@ -231,7 +231,7 @@ class Single extends Component {
Toast.info(res.data.data.msg, 2) Toast.info(res.data.data.msg, 2)
return; return;
} }
this.props.payCallBack(singleType, nowPrice, laterPrice); _this.props.payCallBack(singleType, nowPrice, laterPrice);
}) })
} }
}) })
......
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